How to translate jQuery .live() to .on() with events bound to this?

前端 未结 4 877
一向
一向 2021-02-13 04:11

I\'m in the process of converting code from the deprecated .live() API to .on() (see the jQuery 1.7 release notes)

I have live events attached

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-13 04:25

    The .selector property is undocumented and probably will be removed when .live() is removed. What did this code look like when you were using .live()? How are these plugins used?

提交回复
热议问题