Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在页面上使用鼠标悬停事件。
现在,单击按钮查看更多数据时,我使用了异步回发。但是点击它后,它会停止 mouseover 事件。如何防止这个问题???
在准备好的功能上写你的代码:
$(document).ready(function(){ $("body").mouseover(function(){ //do anything on mouse over }); })