Mega Code Archive

 
Categories / JavaScript Tutorial / Window
 

Window onLoad

The onLoad event handler is fired when the page has finished loading. The onLoad event handler in the of a document fires before the event handler in the tag. <html>     <body onLoad='alert("The document has completely loaded.")'> </html>