.
.
What seems to be the problem?
Works for me (Drop down displays, can select, etc)
Tested and it works.
SourceCode:SELECT name="URL"onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"
.
.
That happens in the source code too. My guess is that if the javascript doesn't stop the action it will take them to the first option as soon as the page loads... all the time. If you notice the first options are conveniently named: choose from the items below, click here, etc.
.
The first option doesn't work because the event is "onChange". If you select the first option while it's already selected, that's not a change!
.
whats not working? just did the same and its working fine
Code:<html> <body> <form> <select name="whatever" onChange="if(options[selectedIndex].value) window.location.href=(options[selectedIndex].value)"> <option value="">pick a option</option> <option value="http://www.mmo-champion.com/content/">mmochampion</option> <option value="http://www.bluegartr.com/threads/98717-Simple-HTML-Coding-Help">fail at html!</option> </select> </form> </body> </html>
.