Jquery mouseenter() vs mouseover()

前端 未结 7 2243
梦如初夏
梦如初夏 2020-11-22 07:58

So after reading a recently answered question i am unclear if i really understand the difference between the mouseenter() and mouseover(). The post

7条回答
  •  暖寄归人
    2020-11-22 08:26

    See the example code and demo at the bottom of the jquery documentation page:

    http://api.jquery.com/mouseenter/

    ... mouseover fires when the pointer moves into the child element as well, while mouseenter fires only when the pointer moves into the bound element.

提交回复
热议问题