Page 1 of 1

Javascript dropdown without a Submit

New postPosted: Thu Mar 27, 2008 10:25 pm
by Ranman
<form action="" name="mylinks">
<select name="link" onChange="window.location=document.mylinks.link.options[document.mylinks.link.selectedIndex].value">
<option selected value="javascript:void(0)">PHP Quick Links</option>
<option value="javascript:void(0)">---------------------------</option>
<option value="http://www.php.net/manual">PHP Manual</option>
<option value="http://www.php.net/quickref.php">Quick Reference</option>
</select>
</form>


Demo!--->http://www.linuxguruz.org/tutorials/52Demo.php