Possible Duplicate:
JQuery Unbind and then bind
I have a function that performs animations on hover (mouseenter, mouseleave). I am trying to unbind the function (because i dont want the user to interact with it) after I click a button. This works but what I'm having issues with is re-binding the hover function again so that when the user clicks the button again the animations and hover effects are back in use.
Not sure if this is the right way to implement this, but hope I can get some help on this subject. Thanks.