jquery的live()已被弃用。我现在用什么? [英] jquery's live() is deprecated. What do I use now?
本文介绍了jquery的live()已被弃用。我现在用什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在jquery文档中看到live()已被弃用。是否有直接替换函数?
I saw on the jquery documentation that live() is deprecated. Is there a direct replacement function?
推荐答案
当然:
live()
的页面显示如何转换为 on()
:
The page for live()
shows how to convert to on()
:
这篇关于jquery的live()已被弃用。我现在用什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文