Why does this code executes correct (5 alerts) on
Mozilla/ IE but on safari i only see one alert ?
Thanks
<html>
<head>
<script langauge="javascript">
var i = 0;
function p()
{
if(i < 5)
{
setTimeout("document.getElementById('a').src =
'iframe.html'", 500);
alert("iframe updated: " + (i+1) + " of 5");
}
i++;
}
</script>
</head>
<body>
<iframe id="a" frameborder=1 src="iframe.html"
width=200 height=200></iframe>
</body>
</html>
'iframe.html' :
<script langauge="javascript">
setTimeout("alert('iframe calling');parent.p();",
500);
</script>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden