31-03-2009

Javascript document onload or window onload event

This fires after everthing is fully loaded. Use window.onload cause document.onload doesn't work xbrowser

<head>
window.onload = windowHandler;
 
function windowHandler(){
	alert('blabla')
}
</head>

Comments:

Your comment:

»
JB 09/04/2011, 6:50 pm
nerd

 

[x]