View Single Post
Old 07-02-2009, 03:48 PM   #3 (permalink)
FredT
Registered User
 
FredT's Avatar
 
Join Date: Nov 2007
Posts: 388
OS: Mac OS X 10.5.7 and XP SP2


Re: HTML - Drop Down Menu Question

Either that or this:

Code:
<select name="ComprehensiveList"ONCHANGE="window.open(this.options[this.selectedIndex].value)">
	<option value="" selected="selected" disabled="disabled">&lt;select&gt;</option>
	<option value="www.whatever.com">Option1</option>
	<option value="www.whatever.com">Option2</option>
</select>
That way they can't even choose the "Select" option. That's what I do whenever I use a <select> box.
FredT is offline   Reply With Quote