Web design careers - 723Chapter 29 .Event Objects Send event to layerButton2

723Chapter 29 .Event Objects Send event to layerButton2


 layer1

IE4+ event propagation Event propagation in IE4+ flows in the opposite direction of the NN4 event capture model. IE s model is called event bubbling, in which events bubble upward from the target object through the element containment hierarchy. It s important to distinguish between the old-fashioned document object hierarchy (followed in the NN4 event capture model) and the more modern notion of HTML element containment a concept that carries to the W3C DOM as well. A good way to demonstrate the effect of event bubbling a behavior that is turned on by default is to populate a simple document with lots of event handlers to see which ones fire and in what order. Listing 29-5 has onClickevent handlers defined for a button inside a form, the form itself, and other elements and object all the way up the hierarchy out to the window.
We recommend cheap and reliable webhost to host and run your web applications: Coldfusion Web Hosting services.

Leave a Reply