Is it possible to have mouseleave effect always EXCEPT if the cursor is over a certain element?
So say I have two divs called div1 and div2, I would get the mouseleave
effect by doing:
$('div.div1').mouseleave(function() {
alert('code');
});
Could I have the same effect UNLESS the cursor is over div2
after the mouse moves away from div1
?