Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > regarding to life cycle of the html body onload event

Reply
Thread Tools

regarding to life cycle of the html body onload event

 
 
baroque Chou
Guest
Posts: n/a
 
      01-24-2006
the body tag has onload event, I want to make sure that is it a client
side scirpt, is it fired completed after the page is rendered, I mean,
the meaning of the onload is the browser loading the rendered page
coming from server response? and have no business with the Pages's
On_load method which is called at server side.

 
Reply With Quote
 
 
 
 
Laurent Bugnion
Guest
Posts: n/a
 
      01-24-2006
Hi,

baroque Chou wrote:
> the body tag has onload event, I want to make sure that is it a client
> side scirpt, is it fired completed after the page is rendered, I mean,
> the meaning of the onload is the browser loading the rendered page
> coming from server response? and have no business with the Pages's
> On_load method which is called at server side.


This is correct. The "body onload" event is a pure client-side event,
which is fired by the browser when the page is fully loaded *and*
rendered. It means that you can rely on it that your JavaScript code is
fully loaded and interpreted.

Note however that it doesn't mean that plugins you might have on the
page are ready to work. If you have for example an applet you want to
interact with, you must make sure it is started first.

HTH,
Laurent
--
Laurent Bugnion, GalaSoft
Software engineering: http://www.galasoft-LB.ch
Private/Malaysia: http://mypage.bluewin.ch/lbugnion
Support children in Calcutta: http://www.calcutta-espoir.ch
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
specification about the HTML/DOM/Javascript page life cycle to provea bug occured i4587415@gmail.com Javascript 3 09-22-2009 05:03 AM
Why doesn't frameset onload event get called when each of the frames has an onload? adnanx82@gmail.com Javascript 5 05-15-2005 01:58 PM
window.onload and body.onload differences David Otton Javascript 2 11-04-2004 04:34 PM
onmousedown event causing body onload event to fire Bender Javascript 2 10-22-2003 10:29 PM



Advertisments