2. Handling Events
In This Chapter
The single most common task you’ll find yourself performing with jQuery is event handling. Browser events, mouse events, and keyboard events are easily directed and interpreted by the jQuery library’s methods and functions.
When you combine the event-handling capability of jQuery with the ability to easily select DOM elements, you get a powerful and easy-to-use combination. For instance, a single mouse click can set off a chain of instructions, such as including animations, sending information to a server, or changing the text of the page. A blur event (as seen in Chapter 1 ...