How to remove $.hover event added by jQuery?

events, jquery

Solution

The hover function it's just a short-hand to bind two handlers to the mouseenter and mouseleave events, you should unbind them:

$('#item').unbind('mouseenter mouseleave');

Problem

I tried `$.unbind('hover')`, which is not working.

Original source