Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Combo boxes that submit the form when you select an item from them

Posted on 2003-02-22
2
Medium Priority
?
177 Views
Last Modified: 2010-04-09
Simple question (I think), How do I make a combo box in HTML that submits the form that its in when a user selects an item from it?

Thanks :)
0
Comment
Question by:Xtremehobo
2 Comments
 
LVL 33

Accepted Solution

by:
hongjun earned 80 total points
ID: 8001698
Try this

<form name="frmMain">
<select name="sel" onchange="document.frmMain.submit();">
...
</select>
</form>

hongjun
0
 

Author Comment

by:Xtremehobo
ID: 8001710
Works, THanks :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question