When running the simplest javascript in firefox I get a freeze if I change my system clock.
Not sure if this is a javascript problem with setInterval call or a firefox problem.
The code I used was:
If you run that in firefox so that its incrementing then change your system clock up and down by an hour it should freeze.
Can anyone make sence of this?
Thanks
Not sure if this is a javascript problem with setInterval call or a firefox problem.
The code I used was:
Code:
<html>
<head>
<script type="text/javascript">
setInterval('test1()', 500);
var inc = 0;
function test1()
{
inc += 1;
document.getElementById('id1').innerHTML = inc;
}
</script>
</head>
<body id="id1">
</body>
</html>
Can anyone make sence of this?
Thanks
Comment