JavaScript tutorial: Understanding event propagation | lynda.com




With event propagation in JavaScript you can have a single parent element capture all the events of its children elements. In this tutorial, explore how event propagation works in JavaScript. Watch more at http://www.lynda.com/JavaScript-tutorials/JavaScript-Events/140780-2.html?utm_campaign=vcgP8UCR_0o&utm_medium=viral&utm_source=youtube.

This tutorial is a single movie from the JavaScript: Events course presented by lynda.com author Ray Villalobos. The complete course is 2 hours and 10 minutes and shows how to use JavaScript events to respond to clicks, form input, and touch gestures in your web applications.

Introduction
1. Learning about Events
2. Working with Common Events
3. Working with Time-Based Events
4. JavaScript: Events in Action
Conclusion

Original source


4 responses to “JavaScript tutorial: Understanding event propagation | lynda.com”

  1. Thanks for clearing out my understanding on event bubbling and capturing. However, I did not understand what did you demonstrate by playing with the 3rd parameter of the event listener (true/false for bubbling vs capturing). Sorry, I am too lazy to try a hands on myself, but are you trying to say that browsers which support only the bubbling model will work when that parameter is set accordingly? E.g. if false means bubbling, it will work only for browsers which follow the bubbling model?

Leave a Reply