August 2006
Beginner
456 pages
14h 55m
English
An intrinsic event determines when an associated script will run. However, not every intrinsic event works with every (X)HTML element. This table illustrates which events and tags work together. For more information on associating a script with an intrinsic event, consult Triggering a Script on page 314.
| Event | Works With | When |
|---|---|---|
| onblur | a, area, button, input, label, select, textarea | the visitor leaves an element that was previously in focus (see onfocus below) |
| onchange | input, select, textarea | the visitor modifies the value or contents of the element |
| onclick | All elements except applet, base, basefont, br, font, frame, frameset, head, html, iframe, meta, param, script, style, title | the visitor clicks on the specified area ... |
Read now
Unlock full access