Re: Passing Form Values

From: Date: Wed, 26 Jun 2002 19:09:45 +0000
Subject: Re: Passing Form Values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-104035@lists.php.net to get a copy of this message
I would suggest posting the vars to a page, which will open up a new javascript window, then .write("") the values into the javascript window from the main page. OpenWindow = window.open("", "newWindow", "height=400, width=300,toolbar=yes,scrollbars=yes,menubar=yes"); OpenWindow.document.write("<TITLE>Debugging</TITLE>") OpenWindow.document.write(<? echo $postvar; ?>) "Phillip S. Baker" <phillip@freewolf.net> wrote in message news:5.1.0.14.2.20020625155346.024ea9f0@209.164.73.211... > Greetings All, > > Another question for today. > > I have a form. > When the form is submitted I want to values passed to a pop-up window. > I am aware of the need for Javascript for the pop-up window, but how do I > get the values from the form passed to the new window so I can use them in > further scripts. > I can write the javascript to do the popup window and use the onSubmit > command, but I cannot figure out how to pass the values with a regular > submit button. > Thanks > > Phillip >

« previous php.general (#104035) next »