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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.