What exactly is the difference between the window.onload event and the onload event of the body tag? when do I use which and how shoul
window.onload
onload
body
There is no difference ...
So principially you could use both (one at a time !-)
But for the sake of readability and for the cleanliness of the html-code I always prefer the window.onload !o]