jQuery mouseout() method

jQuery mouseout() method

Definition

The mouseout event triggers when the mouse pointer leaves the matched element. It gets fired by the jQuery mouseout() method.

Syntax

The following is the syntax,

The following is the parameter,

  • func: When mouseout event is triggered, this function runs. This is optional parameter.

Example

The following is the output,

On keeping the mouse cursor on the heading <h3> tag, the background color change to red; it triggers mouseover event,

On leaving the mouse cursor from the heading <h3> tags, the background color again change from red to yellow,

jQuery mouseover() method
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create free tutorials for all.

No Comments

Post A Comment