This manner of flow is called
because, as displayed in the diagram, the event
DOM hierarchy until it reaches the top.
IE changed event bubbling slightly in version 6.0 so that the
element also receives the bubbled
events, allowing for code such as this:
<div onclick=”handleClick()”>Click Me</div>
In this example, a click on the page bubbles back up to the
element, causing the previous dia-
gram to change as shown in Figure 9-2.
All about Events
12_579088 ch09.qxd 3/28/05 11:39 AM Page 263