Using jQuery .on() and .off()

Using jQuery .on() and .off() – AndiSmith.com.

jQuery’s .live() caught on like wildfire, and for good reason. Unfortunately, as with most good things, it got abused. It was misused to the extent of the jQuery team deprecating it as of version 1.7 (currently at 1.7.1 at the time of this posting) and replacing it with .on().

Along with an explanation of the new function, this article explains very well some other aspects to the changes in jQuery 1.7+ that you should keep in mind and in practice.