Javascript Onload Event Handler Example


You can see in this example how the alert pop-up box executed when the whole page finished loading.

This demonstrates the javascript onload event handler.

It executes its function, in this case an alert pop-up box displaying "Welcome to this site" when the body of the web page is finished loading.

To return back to the previous, click Javascript Onload Event Handler.

HTML Comment Box is loading comments...