Do Not Use jQuery .bind Anymore - Save My Knowledge
Monday, January 23, 2017

Do Not Use jQuery .bind Anymore

As my title said, "do not use jQuery .bind anymore" is pretty obvious that we shouldn't use .bind anymore. This should be done with user who use jQuery version 3.0 and should use .on instead.
This link explain it all that discouraged to use .bind.
If you already use .bind, then move it as .on instead and it still working perfectly.
Example:
$(".some-class").bind('paste', function () {})
Should be changed into
$(".some-class").on('paste', function () {})
Hope this help :)