Difference between onMouseOver and onMouseEnter

前端 未结 3 499
青春惊慌失措
青春惊慌失措 2020-12-08 04:11

I\'m trying to have a simple html table, that highlights a row as a user mouses over it. Unfortunately the css hover item doesn\'t work for IE. That leaves me to simulate

3条回答
  •  南笙
    南笙 (楼主)
    2020-12-08 04:45

    Both onmouseenter and onmouseover fire when the mouse enters the boundary of an element. However, onmouseenter doesn't fire again (does not bubble) if the mouse enters a child element within this first element.

提交回复
热议问题