[thelist] javaScript not Netscape Compliant

Casey Crookston casey at thecrookstons.com
Thu Apr 15 12:51:21 CDT 2004


I know, I know... Here comes Netcrap again.

The script is to auto-force the same page to re-load when the user selects
from a drop down menu...

 <Script language="JavaScript">
<!--
function goto(form) { var index=form.select.selectedIndex
if (form.select.options[index].value != "0") {
location=form.select.options[index].value;}}
//-->
</SCRIPT>



<form name="form1">
<SELECT NAME="select" ONCHANGE="goto(this.form)" SIZE="1">
<option>......</option>
</select>
</form>

Here is the online version:

http://www.thecrookstons.com/roi/calc.asp

What needs to change to make it work with Netscape?

Thanks,

Casey




More information about the thelist mailing list