codeGK
Code it ALL
jQuery mouseleave() - CodeGK

♦ jQuery mouseleave()

♣ Example4: jQuery mouseleave()

The mouseleave() method is used, when we need an action to be performed upon a mouse leaving an HTML element region.
Below is the representation of mouseleave() Syntax.
Basic Syntax
$(selector).mouseleave(function(){
//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, .
Example
Input:
Output: