What are the reasons that live() and bind() are deprecated post jQuery 1.7

As of post jQuery 1.7 the .live() and .bind() are deprecated and instead of that .on() is being used. Both of these were great functions were working like charm. What is purpose of removal? What is the technical reason behind that?

And why .on() is proffered to use?

Answers:

Answer

Quote from this article:

  1. You can’t use live for reusable widgets.

  2. stopPropagate() doesn’t work in live

  3. Live is slower

  4. Live isn’t chainable

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.