File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
difference between body onLoad and window.onload
Joined: Jan 30, 2009
Apr 08, 2009 07:56:13
Please tell me this :
Is there any difference between body onLoad and window.onload
Thanks in advance.
If you want something you never had do something which you had never done
Joined: Nov 08, 2001
Apr 08, 2009 08:26:20
They both do the same thing. Having onload in the body tag is obtrusive and is normally frowned upon by seasoned developers.
I agree. Here's the link:
subject: difference between body onLoad and window.onload
Loading data when the application first load
Javas cript onLoad() function
Alternative to on Load method in BODY Tag
Validating in Struts
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014