Difference between onMouseOver and onMouseEnter

dom-events, html, javascript

Solution

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.

Problem

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 it in Javascript. I can use either `onmouseenter` or `onmouseover`. What is the difference between them, and which one should I use?

Original source