Re: Getting variables before the submit button is hit

From: Date: Thu, 01 May 2003 15:08:15 +0000
Subject: Re: Getting variables before the submit button is hit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-145966@lists.php.net to get a copy of this message
You need to use javascript; php is server side but with javascript you can affect the client browser as and when the user does certain things. Whats the problem with processing the page on the server? Bob pilly wrote:
Hello all I have a drop down list in html that consists of two choices: yes no Thie result of choosing either is assigned to a variable that is available to the next php page using $_GET once the 'submit' button is hit. Is there anyway to get this value on the same page before the submit button is hit? Im wanting to expand the page and offer the user more options if they choose 'yes' from the drop down menu. Thanks for any help in advance. __________________________________________________ Yahoo! Plus For a better Internet experience http://www.yahoo.co.uk/btoffer


« previous php.general (#145966) next »