How do I create an if () mouse is over an element in Jquery?

Posted by Jared on Stack Overflow See other posts from Stack Overflow or by Jared
Published on 2010-03-17T17:24:41Z Indexed on 2010/03/17 17:31 UTC
Read the original article Hit count: 170

Filed under:
|

I have some hover() JS code:

$( '.leftMenuProductWrapper').hover (
            function () {



            },
            function () {


    });

In the second function, I need something like:

If ($("#leftMenuWrapper2").hasMouseover){
do this
}else{
do that};

I can't find any documentation on how to do it.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about mouseover