The Difference Between jQuery’s .bind(), .live(), and .delegate()

Posted: October 16, 2012 Comments

The Difference Between jQuery’s .bind(), .live(), and .delegate() – Alfa Jango Blog.

Event management is a major aspect of writing JavaScript, and it’s often a foundational philosophy of any JavaScript library. Understanding the implementation of the library is supremely important and this article has proven to be one of the de-facto explanations of how jQuery has implemented it’s various methods for event management. Definitely worth a read even if it’s just a refresher to an old veteran.

Update I’ve been reminded to mention jQuery’s .on() by the following tweet:

He’s absolutely right. My nostalgia prevented me from including a necessary link to jQuery’s .on() method which was designed to solve many of the pain points associated with choosing the best way to handle events.

Get my newsletter

Receive periodic updates right in the mail!

  • This field is for validation purposes and should be left unchanged.

Leave a Reply

Your email address will not be published. Required fields are marked *