O'Reilly logo

Practical Web Technologies by V. Lau, P. K. Yuen

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

9.3. Setting up general event handlers

9.3.1. Event models of browsers

An event model is the inside structure of a browser used to handle events. Unfortunately, different browsers, such as IE and NS, in general have different event models. This section discusses such models and shows how to set up event handlers or listeners for each of them.

In normal circumstances, you don’t need to consider event models in your Web page design. However, if you have a dynamic Web page and the behavior of IE and NS browsers is different and drives you mad, you may need to consider the event model structure of the browser.

IE introduced the concept of so-called event bubbling as the event model. This contrasts with NS4.x where events dive from the window object ...

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