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 ...
Get Practical Web Technologies 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.