InterviewSolution
Saved Bookmarks
| 1. |
What is Bubbling and Capturing? |
|
Answer» When an EVENT OCCURS on the DOM, it does not TAKE place completely on one element. The event bubbles up or goes to its parent, grandparents, and grandparent's parent until it reaches the window in the Bubbling PHASE, whereas the event starts out from window down to the element that prompted the event or the event target in the Capturing Phase. There are three stages of event propagation:
|
|