By macosxnerd101
via dreamincode.net
Published: Jan 18 2013 / 22:40
Event delegation has two related meanings. In languages other than JS a delegate is an object that is created specifically to respond to an event on an object (or objects). The simpler JS meaning for this tutorial is the following: We attach an event to a parent element and, when the event occurs, we discover which specific child-element was the target of the event.
Tweet
SaveShareSend
Tags: how-to, javascript, web design
Comments
Voters For This Link (6)
Voters Against This Link (0)