View Full Version : How to pass array to popup window

May 2nd, 2008, 05:07 AM
How to pass array to popup window.Then let user to change array position then pass array back to parent windows.

What i'm trying to do is after user fill in a form, value of each field will be displayed in a text area. The popup window is for user to change the arrangement..which field first and which field not to be displayed. What i did was assign the fieldname in array so i can pass it to the popup window.

May 2nd, 2008, 10:17 AM
Why do you have to use window.open to open a popup? You can just play with a div's visibility on the same page so then you won't have to pass any arrays between pages.