Re: Passing values from a new window

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

 



Javascript.
Simply just update ur fields at the parent window.

On onUnload even of the popup do this....
self.opener.formName.fieldName.value=document.popupformName.popupfieldName.value;

Your keywords to check in Javascript papers are parent_window,
window_opener and Javascript DOM. If you're using Dreamweaver then ur
blessed by having a Javascript at the palm of ur hand.

HTH.


On Fri, 05 Nov 2004 13:03:31 -0800, Todd Cary <todd@xxxxxxxxxxxxxxxxxx> wrote:
> I have a button that creates a new window.  The surfer may enter data in
> the new window, and if he does, when the window is closed by the surfer,
> can the information update fields on the original page - the page/window
> from which the new window was created?
> 
> I have seen instances where the surfer can open a new window to get
> email addresses and these addresses appear in the first window.
> 
> Todd
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
M.Saleh.E.G
97150-4779817

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