<html>
<head>
<script src="https://libs.baidu.com/jquery/1.10.2/jquery.min.js">
</script>
<script>
$(document).ready(function(){
$("p").on("click dblclick mouseover mouseout",function(event){
$("div").html("Event: " + event.type);
});
});
</script>
</head>
<body>
<p>This paragraph has a click, double-click, mouseover and mouseout event defined.<br>If you trigger one of the events, the div element below will display the event type.</p>
<div></div>
</body>
</html>