1 |
The onLoad event handler is automatically called when you load (or reload) a page
-
<BODY onLoad="myFunc()">
-
<FRAMESET onLoad="myFunc()">
|
2 |
The onUnload event handler is automatically called when you exit a page
|
3 |
Images: the onAbort event handler is called when user aborts loading of image (by clicking stop button, e.g.)
|
4 |
Images and windows: the onError event handler is called when document or image loading causes an error
|
5 |
Windows, frames, and form elements: the onFocus event handler is called when the mouse moves within the scope of a window, frame, or form input field
|
6 |
The onBlur handler is the opposite of onFocus
|