article

Wednesday, March 5, 2014

Jquey event mouse click

Jquey event mouse click
<script>
$(document).ready(function(){
 $('.rightclick').bind('contextmenu', function(e) {
     e.preventDefault();
     alert('The eventhandler will make sure, that the contextmenu dosnt appear.');
 });
});
</script>
<p><a href="#" class="rightclick"><h1>Jquey event mouse click</h1></a></p>

Related Post