-
PopUp to MainWindow
How would you (in JavaScript) send information from a popUp window to the window that created that popup. After the user enters some data and hits the submit button on the popup window I want the popup window to close and all the data to be passed back to the calling window (or better yet to a brand new one if possible). IHYKWIM.
Thanks for your help
Spike
-
What code are you using to create/ popUp the popup?
-
Code:
window.open('ownbudget.htm','popup','width=350,height=525,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,screenX=10,screenY=10,top=10,left=10')
-
I think it is hard to reference to the calling window with the popup window
An alternative method would be to use Cookies?
-
That's not that easy you could use a redirect to that calling window and give the required parameters along with it.
Or what is easier but not advanced is a promt where you ask for direct input.
Good luck
-
-