Re: Drop Down Menu
| From: | Gianluca Baldo | Date: | Sat, 28 Jul 2001 15:56:37 +0000 |
| Subject: | Re: Drop Down Menu | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-60052@lists.php.net to get a copy of this message | ||
It's a javascript issue.
<form NAME=myform method="POST" action="form2.php">
<td><select size="1" onChange="document.myform.submit()"
name="color">
<option>blue</option>
<option>licht</option>
<option>red</option>
<option>yellow</option>
</select></td>
<input type="submit" value="Next" name="Go">
</form>
Cheers,
Gianluca
MV> I have the following question : if i make a selection in the drop down menu
MV> and click on submit button then the color will send to form2.php
MV> I want not click on the submit button
MV> i make a selection in the drop down menu then the color will send automatic
MV> to form2.php, how can I do this
MV> <form method="POST" action="form2.php">
MV> <td><select size="1" name="color">
MV> <option>blue</option>
MV> <option>licht</option>
MV> <option>red</option>
MV> <option>yellow</option>
MV> </select></td>
MV> <input type="submit" value="Next" name="Go">
MV> </form>
--
ALBASOFTWARE
C/ Mallorca 186 - 3º 1ª
08036 Barcelona (Spain)
Tel. +34 93454009 - +34 934549324
Fax. +34 934541979
@@ ICQ 47323154 @@
webmaster@albasoftware.com
http://www.albasoftware.com
http://www.phpauction.org
http://www.gianlucabaldo.com