开发者

how to fire mouseleave when the mouse leaves 2 divs using jquery

开发者 https://www.devze.com 2022-12-23 18:37 出处:网络
i have 2 divs next to each other i want mouseleave to fire when the mouse leaves the 2 divs not when it lea开发者_如何学Cves one of them.

i have 2 divs next to each other i want mouseleave to fire when the mouse leaves the 2 divs not when it lea开发者_如何学Cves one of them.

how can i do that using jquery?

Cheers


You could surround the two divs with another div and catch the mouseleave on that.

0

精彩评论

暂无评论...
验证码 换一张
取 消