Re: Passing values from a new window
| From: | M Saleh EG | Date: | Sat, 06 Nov 2004 14:25:50 +0000 |
| Subject: | Re: Passing values from a new window | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201363@lists.php.net to get a copy of this message | ||
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@aristesoftware.com> 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