window.onload vs <body onload=""/>

Posted by Manu on Stack Overflow See other posts from Stack Overflow or by Manu
Published on 2008-10-10T13:03:33Z Indexed on 2010/04/22 12:43 UTC
Read the original article Hit count: 523

Filed under:

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 should it be done correctly?

© Stack Overflow or respective owner

Related posts about JavaScript