jQuery hover()

The jQuery hover() method is used to trigger both the mouseenter and mouseleave events, to execute two functions, i.e., when the mouse pointer roams over the selected element. Syntax: $(selector).hover(inFunction,outFunction) In Function: It is a mandatory parameter. This parameter specifies the function to run when the mouseenter event occurs. Out Function: It is a mandatory … Read more