Use the Option (combox) onChange event to navigate : select option : Form JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Form » select option »

 

Use the Option (combox) onChange event to navigate

















<HTML>
<HEAD>
</HEAD>

<BODY>

<FORM name="f2">
<SELECT name="s2" onChange="window.location=document.f2.s2.options[document.f2.s2.selectedIndex].value">
<OPTION SELECTED value="http://www.navioo.com">E
<OPTION value="http://www.navioo.com">D
<OPTION value="http://www.navioo.com">C
<OPTION value="http://www.navioo.com">B
<OPTION value="http://www.navioo.com">A
</SELECT>
</FORM>

</BODY>

</HTML>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Form
» select option