Uncaught TypeError: jQuery(…).live is not a function

文章描述:

运行网页的时候提示:“Uncaught TypeError: jQuery(…).live is not a function”怎么解决?

使用jquery提示Uncaught TypeError: jQuery(…).live is not a function

解决方法:

自 jQuery 版本 1.7 起,on() 方法是 bind()、live() 和 delegate() 方法的新的替代品。

发布时间:2021/07/16

发表评论