Mega Code Archive

 
Categories / JavaScript DHTML / Form Control
 

Drop-down Redirect - No Submit button

<html> <head> <title>Redirect menu</title> <script language="JavaScript"> function loadPage(list) {   location.href=list.options[list.selectedIndex].value } </script> </head> <body> <form> <select name="file" size="1"   onchange="loadPage(this.form.elements[0])"   target="_parent._top"   onmouseclick="this.focus()"   style="background-color:#ffffff">   <option value>Select Page</option>   <option value> </option>   <option value="http://www.rntsoft.com">rntsoft.com</option>   <option value="http://www.apple.com">Stevie</option>    </select ></form> </body> </html>