Event Bubbling Sample
The following sample demonstrates event bubbling in Dynamic HTML. The DIV object, identified by the red background, contains an onmouseover event that uses the alert method to return the ID of the object that the mouse enters. Since the IMG object is inside the DIV, event bubbling sends any onmouseover events from the image to the event handler on the DIV object.
This is some text
© 1999 Microsoft Corporation. All rights reserved. Terms of use.