Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

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!
0
jreilly
Asked:
jreilly
  • 2
1 Solution
 
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
 
PBallCommented:
Claiming Point :)

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now