Re: Paste variable from popup to previous page?
| From: | tetet | Date: | Wed, 13 Dec 2006 10:00:57 +0000 |
| Subject: | Re: Paste variable from popup to previous page? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-245791@lists.php.net to get a copy of this message | ||
You can pass values of inputs/variables from a popup window to
opener window through javascript like:
window.opener.document.form1.input1.value = js_value;
where js_value can be a javascript variable or a value of an input
in a form in the popup window.
Andy
William Stokes wrote:
> Hello,
>
> How can I pass a variable from popup window back to the page that originally
> opened the popup? Or can I?
>
> Thanks
> -Will
>
>