Skip to main content

Posts

Showing posts with the label jquery bind vs live vs delegate methods

jQuery bind() vs live() vs delegate() vs on() methods

I have seen a bit of confusion from JavaScript developers about the real differences on bind(), live(), delegate (), and on() methods and when they should be use or not use.                     I.             The . bind () method will not attach the events which elements are bind after the DOM fully loaded.                   II.             The . live () and delegate () methods attach the events which are dynamically added in future.                 III.             Only difference between . live () and delegate (), the . live () is not working for chaining element...