CHAPTER 5

image

Events in jQuery

Events form the core of user interaction in web applications. Web development grows bigger and better day-by-day by making use of events and, hence, benefiting the web developer interested in keeping up with the changing times and maintaining relevance in this era of stiff competition. In this chapter, we will take up the concept of events and explain all their possible aspects. Our focus will be the following topics:

  • Introduction to events
  • Browsers and events
  • Event listeners and event handlers
  • The event() method in jQuery
  • Binding and unbinding events to DOM elements
  • Event propagation and event bubbling
  • Callback actions ...

Get Practical jQuery now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.