Try this.
<form>
<p align="center"><b>Select a site </b>
<select id="Choice" style="color: #0000FF" size="1" name="mySelect">
<option value="">Select one</option>
<option value="
http://altavista.com">AltaVista</option>
<option value="
http://www.yahoo.com">Yahoo</option>
<option value="
http://www.google.com">Google</option></select>
<input type="button" value="Go"
onclick="window.open(Choice.options[Choice.selectedIndex].value)">
</p></form>
Note that this uses a Go button. This is needed for people who
navigate with the keyboard and not the mouse, because otherwise they'll
never get past the first item in the drop down list.
Also this has the text set to blue. If you don't want Blue remove:
style="color: #0000FF"
or change it to the color of your choice.
--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
M.Siler said:
If I know the value of a drop down list, not the text that shows in the
list, but the value. How can I make that item selected in the drop down
using Javascript?