Link Details

Link 906975 thumbnail
User 551991 avatar

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.
  • 8
  • 0
  • 1150
  • 908

Comments

Add your comment

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)



    Java Performance Optimization
    Written by: Pierre-Hugues Charbonneau
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Node.js
    2. Debugging JavaScript
    3. OO JS
    4. JSON
    5. Ajax