Curt
Junior Member
rallystuff.net
Posts: 224
inherit
35049
0
Jun 17, 2007 6:05:38 GMT -8
Curt
rallystuff.net
224
December 2004
rallystuff
|
Post by Curt on Jul 26, 2005 10:56:43 GMT -8
How can I use this code to make it so that when one of the options is selected and the button is clicked, then that option is taken to another page?
<select name="year" id="year"> <option selected>Select a year...</option> <option>2005</option> <option>2004</option> </select> </p> <form action="" method="post" name="go" id="go"> <div align="center"> <input type="submit" name="Submit" value="Go">
Thanks, Curt
|
|
Curt
Junior Member
rallystuff.net
Posts: 224
inherit
35049
0
Jun 17, 2007 6:05:38 GMT -8
Curt
rallystuff.net
224
December 2004
rallystuff
|
Post by Curt on Jul 26, 2005 11:11:43 GMT -8
|
|
inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jul 26, 2005 12:07:17 GMT -8
Please don't bump for 24 hours You could use something like this <form name="go" action=""> <select name="year"><option selected>Select a year...</option><option value=" 2005">2005</option><option value=" 2004">2004</option></select> <input type="submit" value="Go"> </form> Where the red is the URL of the new page.
|
|