Re: How to make a SELECT submit without a BUTTON?
| From: | nico_oreka | Date: | Tue, 06 Nov 2001 09:29:33 +0000 |
| Subject: | Re: How to make a SELECT submit without a BUTTON? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73704@lists.php.net to get a copy of this message | ||
<select name="dropDown1" size="1"
OnChange="this.form.submit();">
----- Original Message -----
From: De Necker Henri <deNeckerH@ford.co.za>
To: PHP-General (E-mail) <php-general@lists.php.net>
Sent: Wednesday, November 07, 2001 10:30 AM
Subject: [PHP] How to make a SELECT submit without a BUTTON?
> 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>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>