Direct vs Delegated Events with jQuery on() method
jQuery added a new method called on() in release 1.7 which provides all functionality for attaching event handlers. And it has made other event handler event like live() and delegate() dead. This method was introduced due to performance issue with live() method. Related Post: jQuery Name-spacing with on() and off() method empty() vs remove() vs […]