jquery trigger hover event on element code example
Example 1: jquery mouse hover method
$("#p1").hover(function(){
alert("You entered p1!");
},
function(){
alert("Bye! You now leave p1!");
});
Example 2: jquery hover event
$( selector ).mouseenter( handlerIn ).mouseleave( handlerOut );