onLoad

This event handler will execute the instructions when the document has finished loading into the browser, hence the wording 'onLoad'.

syntax:

document.onLoad = function()

The onLoad Event Handler is used with the following:

APPLET
AREA
FRAMESET
IMG
LINK
SCRIPT
STYLE
layer
window