[HTML] Irritating drop-down menu.
Alright, noob here with a noob question.
I'm trying to make a drop-down menu (already did) that whenever we click to choose the option, the option we choose takes us to another page (couldn't do) . I've googled over 9000 times and couldn't find the answer to my problem.
What i'm using :
Code:
<select align="center">
<option value="blue" selected="selected">BlueStorm</option>
<option value="orange">OrangeSky</option>
</select>
I've tried (This and many more things)
Code:
<select align="center">
<option value="blue" selected="selected">BlueStorm</option>
<option value="orange"><a href="index2.html">Teste</a></option>
</select>
Nothing.
Mind sparing a helping hand to a nooblet?
Re: [HTML] Irritating drop-down menu.
PHP Code:
<form name="jump" action="">
<select name="menu" onchange="location=document.jump.menu.options[document.jump.menu.selectedIndex].value;">
<optgroup label="Options">
<option value='value1'>option1</option>
<option value='value2'>option2</option>
</optgroup>
</select>
</form>
This *should* work.
Re: [HTML] Irritating drop-down menu.
Yep, it works. Thanks for the help ;)
*closed*