Use a <SELECT> to go to another page

Hello,

How do I use a listbox or combobox (<SELECT>) to go to another page on my web site when the page is highlighted?

Thanks!
jreillyAsked:
Who is Participating?
 
PBallConnect With a Mentor Commented:
Claiming Point :)

0
 
PBallCommented:
when the page is highlighted? ?:-\ (hmm)

well,
<select name=selMenu onChange='location.href=this.options[this.options.selectedIndex].value'>
<option value='products.htm'>Products Page
<option value='aboutus.htm'>About Us
<option value='/download'>Download Page
<option value='http://yahoo.com'>Search Yahoo
</select>

Yes?
0
 
jreillyAuthor Commented:
Excellent!  Thanks for the quick answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.