WebReference.com - Chapter 6 of Dynamic HTML: The Definitive Reference, 2nd Edition. From O'Reilly.
Dynamic HTML: The Definitive Reference, 2nd Edition
Chapter 6: Scripting Events
A graphical user interface constantly monitors the computer's activity for signs of life from devices such as the mouse, keyboard, network port, and so on. Programs are written to respond to specific actions, called events, and run some code based on numerous conditions associated with the event. For example, was the Shift key held down while the mouse button was clicked? Where was the text insertion pointer when a keyboard key was pressed? As you can see, an event is more than the explicit action initiated by the user or system--an event also has information associated with it that reveals details about the state of the world when the event occurred.
- Event Types / Event Objects / Binding Event Handlers to Elements
- Preventing Default Actions / Event Propagation / Keyboard Events / Dragging / Future
Created: August 29, 2002
Revised: September 9, 2002