Differences Between jQuery .bind() vs .live() vs .delegate() vs .on()

Posted: February 07, 2012 Comments

Web Dev .NET: Differences Between jQuery .bind() vs .live() vs .delegate() vs .on().

With jQuery 1.7 came on() and went live(). live() was used and abused by many, so if you haven’t kept up with its deprecation, this article is for you.

Document are becoming even more dynamic, so managing your events can become a true test of your planning and logic skills. Unfortunately it’s also somewhat common to take the easy way out and end up with a situation in which you’re not careful with binding events. That leads to a degraded experience and slow running pages, something we want to avoid at all cost.

Elijah Manor is a super smart guy, and he’s put together an extremely straightforward piece outlining the difference between the various methods of binding in jQuery. Definitely set aside some time to give it a read.

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 *