Side navigation
#6862 closed bug (invalid)
Opened August 03, 2010 06:13AM UTC
Closed August 04, 2010 12:54AM UTC
With selector select the <div> can't get me want
Reported by: | kay | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.3 | |
Component: | selector | Version: | 1.4.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
the script code
$(document).ready(function() {
$("#main").mouseout(function(){
alert("leave");
});
});
the html code
<div id="main">
<div style="width:200px;height:200px;float:left;background:blue;"></div>
<div style="width:200px;height:200px;float:left;background:yellow;"></div>
</div>
when the mouse leave the blue area,the mouseout events are triggered,but i select the "main",i want show the alert when i mouse leaved blue and yellow both
I already fix it
not use mouseout
use mouseleave