<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title></title> <script src="jquery-3.5.1.min.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript"> $(document).ready(function() { $(document).click(function() { alert("click") }); $(document).unbind("click"); $(document).unbind("mouseenter"); $(document).undelegate("#box", "click"); $(document).off("click", "#box"); }); </script> </head> <body> <div id="box"> </div> </body> </html>
jquery事件解绑
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:jquery事件对象
下一篇:jquery表格全选反选
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章