check if element is hovered jquery code example Example: jquery hover and hover out $( selector ).mouseenter( handlerIn ).mouseleave( handlerOut );