Hi,
I have seen emails with this particular message but they do not help me. I get this error only in IE 6 & 7. Firefox, Safari and Opera work fine.
Can some one point out what I am doing wrong? As a result of this error, the javascript function is not getting called at all. Thanks!
Here is the code --
[code=html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>VAP</title>
<meta http-equiv="Content-Type" content="text/html;charset=IS O-8859-1">
</head>
<body>
<script type="text/javascript">
function process()
{
if (document.calcu late.case[2].checked == true)
{
document.calcul ate.typ[0].checked=true;
document.calcul ate.typ[1].disabled=true;
}
else
{
document.calcul ate.typ[0].checked=false;
obj.typ[1].checked=false;
obj.typ[0].disabled=false ;
obj.typ[1].disabled=false ;
}
}
</script>
<form method="post" action="calcula te.php" name="calculate ">
<P>
<span style="FONT-WEIGHT: bold"> Case</span>: <input onclick="proces ();" name="case" value="A" type="radio"> A
<input onclick="proces s();" name="case" value="B" type="radio"> B
<input onclick="proces s();" name="case" value="C" type="radio">C
<br>
<SPAN style="FONT-WEIGHT: bold"></SPAN></P>
<P><SPAN style="FONT-WEIGHT: bold">Type</SPAN>:
<INPUT type="radio" value="D" name="typ">D
<INPUT type="radio" value="E" name="typ">E </P>
<P>
<br>
<input value="Submit" type="submit">
</P>
</form>
</body>
</html>
[/code]
I have seen emails with this particular message but they do not help me. I get this error only in IE 6 & 7. Firefox, Safari and Opera work fine.
Can some one point out what I am doing wrong? As a result of this error, the javascript function is not getting called at all. Thanks!
Here is the code --
[code=html]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>VAP</title>
<meta http-equiv="Content-Type" content="text/html;charset=IS O-8859-1">
</head>
<body>
<script type="text/javascript">
function process()
{
if (document.calcu late.case[2].checked == true)
{
document.calcul ate.typ[0].checked=true;
document.calcul ate.typ[1].disabled=true;
}
else
{
document.calcul ate.typ[0].checked=false;
obj.typ[1].checked=false;
obj.typ[0].disabled=false ;
obj.typ[1].disabled=false ;
}
}
</script>
<form method="post" action="calcula te.php" name="calculate ">
<P>
<span style="FONT-WEIGHT: bold"> Case</span>: <input onclick="proces ();" name="case" value="A" type="radio"> A
<input onclick="proces s();" name="case" value="B" type="radio"> B
<input onclick="proces s();" name="case" value="C" type="radio">C
<br>
<SPAN style="FONT-WEIGHT: bold"></SPAN></P>
<P><SPAN style="FONT-WEIGHT: bold">Type</SPAN>:
<INPUT type="radio" value="D" name="typ">D
<INPUT type="radio" value="E" name="typ">E </P>
<P>
<br>
<input value="Submit" type="submit">
</P>
</form>
</body>
</html>
[/code]
Comment