I tried $.unbind(\'hover\')
, which is not working.
Api documentation on hover:
Example: To unbind the above example use:
$("td").off('mouseenter mouseleave');
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');
You could also try:
$('#item').bind('hover', function(){return false})
tringger unbinding with a click
$('.item').click(function() {
$('.item').unbind('mouseenter mouseleave');
});