Hey scott,thank you, i fixed the <body> section , but the problem remains.I was following this tutorial and it uses the settimeout() within the function,and it seems to work. I had never seen a message like "Out of memory" before.
Hello all!I was trying to create a javascript clock,when i got this alert by Internet Explorer - "Out Of Memory at : line 9" ! What does it mean?thats the code i used :
<html><head><script>function clock() {var time= new Date()var hours=time.getHours()var min=time.getMinutes()var sec=time.getSeconds()document.gos.dao.value=hours + ":" + min + ":" + secsetTimeout(clock() ,1000)}</script><body onLoad="clock()"><form name="gos"><input type="text" name="dao" ></form></body></head></html>