Jump to content

window values


Destramic

Recommended Posts

I have had some luck using the window.opener reference.  You can have hidden fields on your main page and populate them from the popup like this:

[code]parentField = window.opener.document.forms['myForm'].elements['myField'];
popupField = document.forms['popupForm'].elements['myField'];

parentField.value = popupField.value;

window.close();[/code]

Hope this helps.
Link to comment
https://forums.phpfreaks.com/topic/33229-window-values/#findComment-156122
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.