Re: sending the submit to a new window

From: Date: Wed, 07 Mar 2001 19:13:40 +0000
Subject: Re: sending the submit to a new window
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-5864@lists.php.net to get a copy of this message
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"" <anikin@ip.pt> wrote in message news:NPENLKEDIKNNFPDLIBAHKEJECBAA.anikin@ip.pt... > 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 > hugo@mni.pt > 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: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#5864) next »