Remove click event
Description
The following code shows how to use remove click 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 ww w . ja va 2s .co m-->
$("div").die("click", function(event) {
event.preventDefault();
});
});
</script>
</head>
<body>
<div>
<h1>java2s.com</h1>
</div>
</body>
</html>