Objectives
- Use event handlers to work with windows
- Capture mouse movements and clicks
- Use form event handling to process forms
- Capture and react to keyboard events
One thing you will notice throughout these notes is that a lot depends upon differences between browsers - especially when dealing with the screen and the keyboard. This greatly complicates programming. Fortunately, the same Ajax libraries that make working with asynchronous JavaScript server requests easier also provide libraries that often make event handling more standardized between browsers. If you need to work with the screen or keyboard, you would be best off investigating the current Ajax libraries.