The following is a script I found at irt.org:
<script language="JavaScript"><!--
function go() {
location.href = '#' + document.myform.mylist.options[document.myform.mylist.selectedIndex].value;
}
//--></script>
<form name="myform">
<select name="mylist">
<option value="flyfishing">Flyfishing
<option value="flytying">Fly Tying
<option value="saltwater">Saltwater
</select>
<input type="button" value="Submit Query" onClick="go()">
</form>
It works great in IE, but can it be fixed to run in Netscape?
<script language="JavaScript"><!--
function go() {
location.href = '#' + document.myform.mylist.options[document.myform.mylist.selectedIndex].value;
}
//--></script>
<form name="myform">
<select name="mylist">
<option value="flyfishing">Flyfishing
<option value="flytying">Fly Tying
<option value="saltwater">Saltwater
</select>
<input type="button" value="Submit Query" onClick="go()">
</form>
It works great in IE, but can it be fixed to run in Netscape?