jQuery mouseenter() Method
jQuery mouseenter() Method
The mouseenter event is used to occur when the mouse pointer enters the selected element. The mouseenter() function triggers the mouseenter event. We can attach a function to this event. It is used together with mouseleave() method.
Syntax:-
Its syntax is:- $(selector).mouseenter(function)
Further Explanation:-
Parameter | Description |
---|---|
function | Optional. Specifies the function to run when the mouseenter event is triggered |