how to make a drop down box submit a form

how to make a drop down box submit a form

how to make a drop down box submit a form

If you want a drop down box to submit a form there is a nice easy method of doing this

in the select statement simply add

<select name="CustomerID" onchange="form.submit();">

where CustomerID is the name you have given to your select box

sometime in google chrome this doesn't work if you have a submit button named submit.

The simple way around this is to change the submit button to another name.

HOW TO GET MORE CUSTOMERS

How to stop paying council tax 

I'm having a clear out, new things added daily

How to stop paying council tax

Stunning cushion 40cm x 40cm...

Stunning cushion 40cm x 40cm Constellations of thoughts


£24.00

Matt Handcock Pin cushion...

Matt Handcock Pin cushion


£3.99

Wine bottle gift bag/ holder...

Wine bottle gift bag/ holder linen new hand made


£3.00

Bean Bag door stop - new ...

Bean Bag door stop - new


£4.00

New Glasses Holder...

New Glasses Holder


£4.00

New Glasses Holder...

New Glasses Holder


£4.00

Stunning cushion 40cm x 40cm...

Stunning cushion 40cm x 40cm Constellations of thoughts


£24.00

Cleaner in Woking