Skip to main content

Bug Tracker

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

Attachments (0)
Change History (2)

Changed August 03, 2010 08:02AM UTC by kay comment:1

I already fix it

not use mouseout

use mouseleave

Changed August 04, 2010 12:54AM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed