JS中mouseover和mouseout多次触发问题如何解决(3)

<div> <div> </div> </div> <script type="text/javascript" src="https://www.jb51.net/dqMouse.js"></script> <script type="text/javascript"> var id1=document.getElementById('id1'); $$(id1).over(function(){ console.log('mouseover'); }).out(function(){ console.log('mouseout'); }); </script>

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/wzpywj.html