Javascript examples for DOM Event:onload
Call function after page is loaded with setInterval() and body onload event handler
<html> <head></head> <body onload="tid=setInterval('refresh()',1000);"> <form method="post" action="rwar.php" id="form"> <script language="JavaScript"> function refresh()// ww w. j av a 2 s. c o m { var HTML = ""; HTML += "<input type=submit value=makefile>"; document.getElementById("form").innerHTML += HTML; } </script> </form> </body> </html>