How to remove $.hover event added by jQuery?

前端 未结 4 1839
萌比男神i
萌比男神i 2020-12-14 05:37

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

4条回答
  •  囚心锁ツ
    2020-12-14 06:11

    Api documentation on hover:

    Example: To unbind the above example use:

    $("td").off('mouseenter mouseleave');
    

提交回复
热议问题