HELP! * GREY=local LOCAL HTML version of Foils prepared 15 January 1997

Foil 55 Event Handlers in JavaScript - I

From JavaScript Tutorial for CPS616 Technologies of the Information Age 1997 Basic Information Track of CPS -- Spring Semester 97. by Geoffrey C. Fox * See also color IMAGE
Addon
There are three major types of events which you can add event handlers
  • Form related events
  • links
  • Loading and Unloading new window
These are new attributes inside tags which traditionally respond to Mouse clicks or movement (or possibly text input)
onUnLoad event handler is called when you exit a particular page
onLoad event handler is called when you load (or reload on returning to page) a new page
  • <body onLoad='alert("You have just seen my first JavaScript Program Loaded!")' .. other body tags ... >



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 Feb 19 1997