.mouseout() Event

Syntax

.mouseout()

Description

.mouseout() event is used to trigger an action when the mouse is moved out of a particular element. The mouse out event occurs when the pointing device gets out of the element. This attribute may be used with most elements. The below example shows how to change the style of the text when the mouse is moved out and over an element.

Example Code

Result:


Move the mouse over here


Ask Questions

Ask Question