mouseenter function

The mouseenter() method attaches an event handler function to an HTML element.
 
The function is executed when the mouse pointer enters the HTML element:

<!DOCTYPE html>
<html>
<head>
<script
	src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
</head>
<body>
	<div>Click me to hide</div>
	<script>
		$("div").on("mouseenter", function() {
			alert("Mouse entered");
		});
	</script>
</body>
</html>