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.

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



Reply via email to