What is event bubbling and capturing in JavaScript?

Answer

Event bubbling is series of events when : An event is triggered on the inner most element first and then it triggers on the parent elements in nested order.

DOM elements could be nested inside each other. The handler of the parent works even if you click on it’s child. Event bubbling can make this happen.

Event Capturing is the opposite of bubbling where the event is triggered on the outer most element and then it triggers the inner children in nested order.

All javascript Questions

Ask your interview questions on javascript

Write Your comment or Questions if you want the answers on javascript from javascript Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---