AW: [PEAR] QF changing target of a Form at runtime

From: Date: Wed, 29 Mar 2006 10:26:14 +0000
Subject: AW: [PEAR] QF changing target of a Form at runtime
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23477@lists.php.net to get a copy of this message
Hello, thank you Justin, I thought about something like this, but I do not find a documentation how to change the target. Do you have a code snippet ? Gretings Mirco -----Ursprüngliche Nachricht----- Von: Justin Patrin [mailto:papercrane@gmail.com] Gesendet: Mittwoch, 29. März 2006 01:51 An: Webmaster@lindworm.de Cc: pear-general@lists.php.net Betreff: Re: [PEAR] QF changing target of a Form at runtime On 3/28/06, Webmaster@lindworm.de <webmaster@lindworm.de> wrote: > Hello, > I might have a problem that is not easy to understand. > > I have a QF page with about 30 different input fields and 4 different send > buttons. > > 3 of those buttons should be sended to the same page wich is no problem at > all, also the different states of the buttons are easy to handle. > > The 4th button should send the data to the same page, but it should open a > popup after sending. > I did those by calling a jscript (window.open) after processing the data. > The big problem is that because of popupblockers we gt more and more support > trouble. > > I now wonder if I can solve this issue with a little javascript wich is > called by the sending button. > This javascript should edit the target tag of the form to _blank, so the > Browser itself starts an new Window. > > Is that solution possible? Or do you know a better ? How can the send button > call the jscript? > > Just add an onClick for the button which changes the target and then calls the form's onSubmit. -- Justin Patrin -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#23477) next »