Handle mouse out event
Description
The following code shows how to handle mouse out event.
Example
<html>
<head>
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {<!--from w ww. j av a2 s. c o m-->
$("div").mouseover(function() {
$(this).append('<span style="color:#F00;">mouseover.</span>');
}).mouseout(function() {
$(this).append('<span style="color:#00F;">mouseout</span>');
});
});
</script>
</head>
<body>
<div>java2 s.com</div>
</body>
</html>