Chapter 15. Document Object Event Handlers Index

Entries in the following index are arranged alphabetically by scriptable object event handlers. You can look up an event handler to find out which document objects and HTML elements support it. This listing is a union of event handlers defined for objects in Navigator 4 and Internet Explorer 4. The same event handler name may mean different things for different objects. Be sure to look up the details of the event handler listing in Chapter 9, to find if the event handler is available for the browser(s) used by your intended audience and whether it does what you want. Objects shown in all uppercase letters are objects that reflect HTML elements of the same name. The following objects reflect specific types of INPUTelements: button, checkbox, file-Upload, password, radio, reset, submit, and text. All event handlers are listed here in all lowercase, as they are in Chapter 9. You may use any case combination you like when specifying the event handler as an HTML element attribute, but you must use the all-lowercase form in scripts for cross-browser compatibility.

onabort

IMG

onafterupdate

APPLET, AREA, BODY, BUTTON, button, CAPTION, checkbox, DIV, document, FIELDSET, IMG, MARQUEE, OBJECT, radio, SELECT, TABLE, TD, TEXTAREA, TH

onbeforeunload

BODY, FRAMESET, TD, TEXTAREA, TH, window

onbeforeupdate

APPLET, AREA, BODY, BUTTON, button, CAPTION, checkbox, DIV, document, FIELDSET, IMG, OBJECT, radio, SELECT, TABLE

onblur

A, APPLET, AREA, BUTTON, ...

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.