O'Reilly logo

Learning jQuery Third Edition by Karl Swedberg, Jonathan Chaffer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Advanced Events

Our applications are only interactive when we can observe the user's activities and respond to them. In Chapter 3, Handling Events, we touched on a number of the features jQuery provides for handling events. In the subsequent chapters, we have used the event system many times. Many details remain to be discovered, though.

In this chapter, we will take a closer look at event delegation and some of the challenges it presents. We will investigate the performance hazards of certain events, and explore a technique for keeping the browser responsive during these operations. We will also revisit custom events and even take advantage of the special event system that jQuery uses internally.

Events revisited

For our sample document, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required