Using delegate() with hover()?

前端 未结 2 1926
无人及你
无人及你 2020-12-16 01:25

I have a ul element with many li items:

  • ...

when the user hovers their mouse over an l

2条回答
  •  误落风尘
    2020-12-16 01:49

    You can declare the handler function so that it pays attention to the event argument, and then check the type.

提交回复
热议问题