Re: Forms
| From: | Marek Kilimajer | Date: | Wed, 19 Nov 2003 14:11:09 +0000 |
| Subject: | Re: Forms | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170280@lists.php.net to get a copy of this message | ||
Matthew Oatham wrote:
Hi, This is probably more of a javascript question but thought someone here might have an answer. I have a form in a pop up windoe I want this form data to be submited to the window that opened the popup - how can I do this? I have tried setting the target attribute on the form tag to window.opener() but that just opens a new window. Any ideas?The simplest way is to name your main window with javascript: window.name = 'domainMainWindow'; Then you can use the name as target in your form.