Jquery Mouse Leave Function

by fido3993

HTML

<p id="hello">
If you click me, I will disappear
</p>

JavaScript

$(document).ready(function(){
	$("#hello").mouseleave(function(){
  alert("You leave p tag!");
  })
});