I am fairly new in the JS scene. I am trying to check a ckeckbox “rg” in the form. If the checkbox is not checked post to page1, If the checkbox “rg” is checked – post the form information to a differnet page “page2.asp
It works on IE and NS on a Mac, it works on windows 95 and 98 in IE and NS, works in windows 2000 and xp in NS only. I cannot get this to work for IE in the newer browsers . Any thoughts would be great.
<script language=”JavaScript”>
<!–
function checkForm( thisform ) {
if (thisform.rg.checked == 1)
{
document.form1.submit(); document.form1.action = “
return(false);
}
return(true);
}
//–>
</script>
<form method=post action=