Hi all,
I’m hitting a strange problem, hopefully I’m just making a plain obvious mistake ?
The following code works on FF, but not in IE (8), and I have really no idea why.
In FF both option One and Two work.
In IE only option Two works.
It seems like on IE my javascript function is not called.
Yet, if I f.e. use <body onload=”recalc()”> then it IS called.
What am I doing wrong?
Thanks a lot!
[CODE]<html>
<head>
<script type=”text/javascript”>
function recalc()
{
alert(‘hi!’);
}
</script>
</head>
<body>
<input type=”checkbox” onpropertychange=”recalc();” onchange=”recalc();” name=”abc”>One<br>
<input type=”checkbox” onpropertychange=”alert(‘hi’);” onchange=”alert(‘hi’);” name=”def”>Two
</body>
</html>