I recently updated jQuery from 1.8 to 2.1. I suddenly discovered that the .live() stops working. I get the error TypeError: $(...).live is not a funct
.live()
TypeError: $(...).live is not a funct
I tend not to use the .on() syntax, if not necessary. For example you can migrate easier like this:
old:
$('.myButton').live('click', function);
new:
$('.myButton').click(function)
Here is a list of valid event handlers: https://api.jquery.com/category/forms/