cannot use .bind() to bind hover

前端 未结 2 358
执笔经年
执笔经年 2021-02-03 10:28

I experimenting with jQuery. As I was trying I found out that I can\'t use hover event with .bind. And I don\'t know what is wrong.

$(document).ready(function()         


        
2条回答
  •  伪装坚强ぢ
    2021-02-03 11:09

    Not much of a why, but it is simply not in the spec. Check the doc - hover is not listed in the bindable events.

    http://api.jquery.com/bind/

提交回复
热议问题