Chapter 12
Example 12.1: onblur: Form Validation
Example 12.2: onchange: Form Validation
Example 12.3: onclick: Adding a Confirmation
Example 12.4: onfocus: Form Modification
Example 12.5: onload: Asking the User Where to Go
Example 12.6: onmouseover: An Alert Box on a Link
Example 12.7: onselect: Displaying an Alert Box
Example 12.8: onsubmit: Displaying an Alert Box
Example 12.9: onsubmit: Form Validation
Example 12.10: onunload: Not Always So Useful
Example 12.11: onabort: When the User Clicks Stop
Example 12.12: onerror: When an Error Occurs
Example 12.13: onerror: Setting onerror for the Window
Example 12.14: onerror: Suppressing Errors and Displaying a Message
Example 12.15: onmouseout: When the Mouse Pointer Leaves an Area or Link
Example 12.16: onreset: When the User Clicks Reset
Example 12.17: onreset: With a Fake Reset Button
Example 12.18: Using Scripts to Modify Event Handlers
Example 12.19: The JavaScript 1.2 event Object
Example 12.20: Passing event Object Information to a Handler Function