Mouse Events in jQuery
The MouseEvent interface represents events that occur due to the user interacting with a pointing device (such as a mouse). Common events using this interface include click, dblclick, mouseup, mousedown, mouseenter, mouseleave etc.
The click() method attaches an event handler function to an HTML element. The function is executed when the user clicks on the HTML element .
This method fires when the mouse enters an HTML element . This method will attach an event handler to the mouse enter event .
The jQuery method hover(enter_function, leave_function) is triggered when the mouse enters or leaves an element. When one function is specified, it is used for both enter and exit events.