August 1999
Intermediate to advanced
1488 pages
72h 53m
English
onLoad="command"
The onLoad event handler of a property of a Window object is fired when the page has finished loading in that particular window instance.
Note
The onLoad event handler in the <body> of a document that is loaded in a frame will fire before an event handler loaded in the <frameset> tag that loaded the document.
Listing 7.559 pops up an alert box when the page has finished loading.
<body onLoad='alert("The document has completely loaded.")'>
|
Read now
Unlock full access