post edited:
Quote:
<html>
<head>
<script language="javascript">
<!--
function display()
{
var i, n=0;
A=new Array(5);
for(i=0;i<5;i++)
{
A[i]=i;
document.write(A[i]);
}
}
-->
</script>
</head>
<body onLoad="display()">
</body>
</html>
|
the above simple javascript code gives the result as
0
in mizilla firefox......
and
01234
in IE6 (after allowing blocked content)
i m stumped ....bail me out plz.