Quick Tip: The Difference Between Live() and Delegate()

Posted on March 10, 2010 by Sergio

Categories: Dev News

In jQuery 1.3, the team introduced the live() method, which allows us to bind event handlers to elements on the page, as well as any that might be created in the future dynamically. Though not perfect, it definitely proved to be helpful. Most notably, live() bubbles all the way up, and attaches the handler to the document.

Read the original post:
Quick Tip: The Difference Between Live() and Delegate()

If you enjoy this post, please share it.
  • Digg
  • Reddit
  • DZone
  • del.icio.us
  • StumbleUpon
  • Technorati
  • LinkedIn
  • TwitThis
  • E-mail this story to a friend!

No Comments »

No Comments yet

Leave your comment
Copyright © 2009 Elasticss.com. All rights reserved.
Made with Elastic