Events in the DOM are one of those things that you learn to use early on, but without necessarily having a deep understanding. I really appreciated this article from Smashing Magazine on the subject: http://coding.smashingmagazine.com/2013/11/12/an-introduction-to-dom-events/. One of the best parts is its clear description of event capture/target/bubbling phases.


Comments are closed