jQuery mouseenter() method

Definition

The mouseenter event triggers when the mouse pointer enters the matched element i.e. over. It is fired by the jQuery mouseenter() method.

Syntax

The following is the syntax,

The following is the parameter,

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

Example

The following is the output,

Mouse hover on any of the <h3> heading, to trigger the mouseenter event. On mouse hover, it would change the color of the heading to red,

jQuery mouseenter() method example

 

 

jQuery mouseup() method
jQuery mouseleave() method
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading