<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.10.1.js'></script>
<style type='text/css'>
#hello {
display: inline-block;
}
</style>
<script type='text/javascript'>
$(window).load(function(){
$('#hello').mouseout(function() {
$(this).html('hello');
});
});
</script>
</head>
<body>
<div id="hello">hover and leave</div>
</body>
</html>