Basic HTML version of Foils prepared 23 June 1997

Foil 58 Event Handlers in JavaScript - IV

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


Checkboxes, buttons (radio, reset, submit) and hyperlinks: the onClick handler is called when the item is clicked
Select, text, textarea: the onChange handler is called when a change occurs in these fields
onMouseOver plays same role for links and image maps that onFocus does for form elements
onMouseOut is the opposite of onMouseover
Text or textarea: the onSelect handler is called when text is selected
onSubmit handler is called when the submit button on a form is clicked
onReset handler is called when the reset button on a form is clicked



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