Help! I'm working with a drop down menu on a site that I'm working on, but I am not able to get the menu to reset itself after a selection is made. Can someone please provide assistance and save my brain!
Here is my code:
<head>
<SCRIPT Language="JavaScript">
<!--
function loadPage(pageURL){
location.href = pageURL.options[pageURL.selectedIndex].value
}
//-->
</SCRIPT>
</head>
<body>
<FORM>
<FONT SIZE=4>
<SELECT NAME="selectMenu" onChange="loadPage(this)">
<option value=http://www.webdeveloper.com/forum/archive/index.php/" ">Quick Jump...</option>
<option value="001.htm">Link 1</option>
<option value="002.htm">Link 2</option>
<option value="003.htm">Link 3</option>
</SELECT>
</FONT>
</FORM>
If there is an eaiser way, please let me know.
Thank you,
Gerald North
Here is my code:
<head>
<SCRIPT Language="JavaScript">
<!--
function loadPage(pageURL){
location.href = pageURL.options[pageURL.selectedIndex].value
}
//-->
</SCRIPT>
</head>
<body>
<FORM>
<FONT SIZE=4>
<SELECT NAME="selectMenu" onChange="loadPage(this)">
<option value=http://www.webdeveloper.com/forum/archive/index.php/" ">Quick Jump...</option>
<option value="001.htm">Link 1</option>
<option value="002.htm">Link 2</option>
<option value="003.htm">Link 3</option>
</SELECT>
</FONT>
</FORM>
If there is an eaiser way, please let me know.
Thank you,
Gerald North