$(document).ready(function () { $("#myDiv").bind("mouseenter click mouseleave", function (e) { alert(e.type + " is binded to Div") }); });
<html> <head> <title>bind in jquery</title> </head> <body> <div id="myDiv">Click Me</div> </body> </html>
#myDiv { height:200px; width:200px; text-align:center; background-color:orange; }