♦ jQuery mouseenter()
♣ Example3: jQuery mouseenter()
The mouseenter() method is used, when we need a action to be performed upon a mouse entering an HTML element region.Below is the representation of mouseenter() Syntax.
Basic Syntax
$(selector).mouseenter(function(){
//code_block
})
//code_block
})
Syntax Explanation:
selector : element selector for event to be performed
code_block : code for execution, which will execute when event is performed
In this example, .code_block : code for execution, which will execute when event is performed
Example
Input:
Output: