mouseleave event vs mouseout code example
Example: mouseout vs mouseleave js event
The mouseout event triggers when the mouse pointer leaves any
child elements as well the selected element.
The mouseleave event is only triggered when the mouse pointer
leaves the selected element.