Which is more widely supported, window.onload or document.onload?
+3
A:
window.onload however they are often the same thing. Similarly body.onload becomes window.onload in IE.
AnthonyWJones
2009-02-25 21:47:20
A:
Window.onload is the standard, however - the web browser in the PS3 (based on Netfront) doesn't support the window object, so you can't use it there.
fritzfromlondon
2010-05-19 11:31:31