Re: [PHP] Passing values from a new window

2004-11-06 Thread M Saleh EG
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 usi

Re: [PHP] Passing values from a new window

2004-11-05 Thread Greg Donald
On Fri, 05 Nov 2004 13:03:31 -0800, Todd Cary <[EMAIL PROTECTED]> wrote: > I have seen instances where the surfer can open a new window to get > email addresses and these addresses appear in the first window. Javascript. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://d

Re: [PHP] Passing values from a new window

2004-11-05 Thread Chris
That is usually done with Javascript, though if you've got a session running, you can update session variables, then use Javascript to refresh the source page. For the most part I'd recommend a purely Javascript solution, but in some cases Using session variables/cookies/database might make mor

[PHP] Passing values from a new window

2004-11-05 Thread Todd Cary
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 surfe