How to make a SELECT submit without a BUTTON?
| From: | De Necker Henri | Date: | Wed, 07 Nov 2001 09:30:04 +0000 |
| Subject: | How to make a SELECT submit without a BUTTON? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73702@lists.php.net to get a copy of this message | ||
Hi there.I just want some ideas of how to make a Select in html submit a
single value to the same page without using a button.
I have two different dynamiclly Select's whose values depends on this one
select.A user only has to select an value then the other two select's values
must change without any buttons!
this is what i have tried :
<form action = "test_dummy.php" method="post">
<select name="dropDown1" size="1">
<option selected
value="0"> ---
none ---</option>
<option value="Bodyshop">Bodyshop</option>
<option value="Material_supply">Material supply</option>
<option value="Paint_shop">Paint shop</option>
<option value="Vechile_assembly">Vechile assembly</option>
<option value="Warehouse">Warehouse</option>
</select>
</form>