URL Option ComboBox : Option Select ComboBox : Form Control JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Form Control » Option Select ComboBox »

 

URL Option ComboBox



<HTML>
<BODY>
<FORM name="f1"
<SELECT name="s1"
<OPTION SELECTED value="http://www.navioo.com">navioo.com
<OPTION value="http://www.perl.com">Perl.com
<OPTION value="http://www.navioo.com">Homepage Tools
</SELECT

<INPUT type="button" name="go" value="Go!" onClick="window.location=document.f1.s1.options[document.f1.s1.selectedIndex].value">
</FORM> 

<P>
<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">navioo.com
<OPTION value="http://www.perl.com">Perl.com
<OPTION value="http://www.navioo.com">navioo.com
</SELECT
</FORM> 

</BODY>

</HTML>

           
       



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Form Control
» Option Select ComboBox