Expert Developer JavaScript Question: Download Expert JavaScript Developer PDF
What is event bubbling, and why is it beneficial to use?
Answer:
Event bubbling transfers events contained within the child node to the parent node. It's a beneficial method because of its speediness, as it only requires the code to traverse the DOM tree one time.
Previous Question | Next Question |
What would "1"+2+3 and 1+2+"3" evaluate to, respectively? | Explain what is pop()method in JavaScript? |