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.