Drop-down Redirect - No Submit button : Option Select ComboBox : Form Control JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Form Control » Option Select ComboBox »

 

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.navioo.com">navioo.com</option>
  <option value="http://www.apple.com">Stevie</option>
  
</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