Solved

Use a <SELECT> to go to another page

Posted on 1999-01-20
3
165 Views
Last Modified: 2010-04-09
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
Comment
Question by:jreilly
  • 2
3 Comments
 
LVL 6

Expert Comment

by:PBall
ID: 1845476
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
 

Author Comment

by:jreilly
ID: 1845477
Excellent!  Thanks for the quick answer.
0
 
LVL 6

Accepted Solution

by:
PBall earned 150 total points
ID: 1845478
Claiming Point :)

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now