javascript blues

Status
Not open for further replies.

iinfi

mekalodu
post edited:
<html>
<head>
<script language="javascript">
<!--
function display()
{
var i, n=0;
A=new Array(5);

for(i=0;i<5;i++)

{

A=i;
document.write(A);

}


}
-->
</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.
 

lubu

Broken In
Try this forum:
*www.webdeveloper.com/forum/forumdisplay.php?s=c55fd0b8dc2ba3d66a964951bec6b68b&f=3
 
OP
iinfi

iinfi

mekalodu
i was trying various things to make it work in FFox ..... while copy pasting it i made some error ....

Sorry ....

its not working as it sud in FFox!!!
 
Status
Not open for further replies.
Top Bottom