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.
下面是我用于悬停的代码:
有人可以帮我找出问题吗?如果我遗漏了任何重要信息,请告诉我。谢谢你。
删除 jQuery(document).ready(function($){ 和最后的右大括号。您将事件处理程序绑定到 onhover 事件,您不需要对 $(document).ready() 执行任何操作.