jQuery’s hover != mouseenter/mouseleave
The jQuery docs state here that, “Calling $(selector).hover(handlerIn, handlerOut) is shorthand for: $(selector).mouseenter(handlerIn).mouseleave(handlerOut);.” Great feature, but unfortunately this doesn’t seem to be the case. If you get odd behavior with hover(), try mouseenter().mouseleave() instead!








