onmouseover/out与div的问题
<div id= "div1 " onmouseover= "event1 " onmouseover= "event2 ">
<div id= "div1_1 "> test </div>
<div id= "div1_2 "> demo </div>
</div>
我在外层div中加了onmouseover onmouseout事件,在应用中发现鼠标一移到div1_1 div1_2上时,就会触发onmouseout,好像离开了div1,像这种情况要如何办?
------解决方案--------------------用onmouseenter和onmouseleave 代替onmouseover和onmouseout