November 2011
Intermediate to advanced
384 pages
13h 23m
English
One of jQuery’s strengths is its capability to modify browser activity based on what event you are interested in, rather than how to monitor the event and override it, as in the traditional JavaScript process.
There are three components required when customizing a browser event in jQuery: What is the object, what will the user do to that object, and what process occurs when the user does it.
The first component is easy; that is the standard $(selector) you have used earlier. The second component is the event method itself. Here are some of the most common browser events you can customize:
Read now
Unlock full access