Try adding a "target=" field in your form tag. For example,
<FORM action="/blah.php" method=POST target="_new">

will open a new window and submit the form there. You could also, I think,
create a window first using window.open('','mywindow,'params') and then use
form.submit() to submit the form to the window, using target='mywindow'.

Hope this helps,
Matias

""Hugo Alexandre A. S. Dias"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I have 2 pages. One of the has a form witch is a question and a <a
> onclick=submit()>
>
> When i click in the link, it should open a new window with the second
page,
> and then sending the submit of the form to the new window.
>
> How can i do this?
>
>
> ---------------------------------------
> Hugo Alexandre Dias
> Web-Programmer
> MNI - Médicos na Internet
> [EMAIL PROTECTED]
> www.mni.pt
> www.saudenainternet.pt
> www.listamedica.com
> MNI - Um mundo de médicos
> ------------------------------------------
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to