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.

 


Trending right now

Read Yourself Slim Ebook

Stop paying council tax and remove yourself from their database

How to stop google chrome downloading automatically

The power of the mind

How to stop someone uploading photos of you or your child

Doctors Do not actually know whether your sickness is vaccine related

Free online Timer

How to stop paying your tv licence

How to get children to eat more fruit

Are you a commercial electrical company

Peanut allergy and what to do in an emergency

Amazon Daily Deals

Get rich quick ideas

How to mute keywords in twitter and hide them from your timeline

How to break out of a frame javascript html

How to stop a form submitting when you press enter php

How to insert line breaks in the mailto script

11 Easy to make toys for your baby that they will love

Repeat this thousands of times a day to put your life back on track

Money from random strangers

Benefits to giving up wheat going wheat free gluten intolerance

How to get facebook to refresh my og image

Visited link to remain same colour

Make your own gymnastics training bar instructions

How to make a drop down box submit a form

 >