Re: Paste variable from popup to previous page?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



    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
>
>   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux