onmouseout Event in JavaScript
onmouseout Event in JavaScript
The onmouseout event is used to fire when the mouse pointer moves out of an element. It is applicable to all HTML elements. It is used in combination with onmouseover events.
Syntax:-
Its syntax is:- < anyElement onmouseout="my_script" > OR object.onmouseout= function(){my_script} OR object.addEventListener("mouseout", my_script)