Basic HTML version of Foils prepared 23 June 1997

Foil 57 Event Handlers in JavaScript - III

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo


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

in Table To:


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998