Mouse over event
<html> <head> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("div").mouseover(function(){ $(this).append('<span style="color:#F00;">mouseover.</span>'); }).mouseenter(function(){ $(this).append('<span style="color:#00F;">mouseenter</span>'); }); }); </script> </head> <body> <body> <div>adsf</div> </body> </html>