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

How to count how many records of a field are in a database

Encouraging Messages from God

How to make first letter only captial using php.

How I paid my HMRC tax bill with a promissory note

Send the Single Letter template to anyone demanding money from you

Why Ditching the News Could Transform Your Mental Health

Learn Spanish as it is spoken quickly and easily.

How to make a drop down box submit a form

How to stop vomiting

Why Discipline Beats Motivation Every Time

Paper chain

I will bid on your ebay items to increase the price

How to Transform Your Product into a Coveted Luxury Item

Promissory Notes and Bills of Exchange

Why Blind Faith Leads to Catastrophe

How to Boost Your Prices Without Driving Customers Away

A miracle is on its way to you right now

How to stop a form submitting when you press enter php

You own nothing

How to unmark posting as spam on facebook

Getting Lots of Visitors to Your Website or Social Media with Few Followers

Why Your Prescription Drugs Might Be Hiding the Real Problem

Hacking Your Way to Success

Miracles Will Happen For 24 hours after reading

Customers or leads you decide

How Niching Down Your Product Can Skyrocket Your Profits

All tax is illegal

Why You Should Launch Your Business Now and Ditch the Quest for Perfection

Service Arbitrage

Why Letting Go is the Key to Scaling Your Business

Keep flies off your food this summer

How to force a file to download simple

How to reject an invoice for council tax or any other invoice

Hide

Share