To disable right click on the web browser, we can use the following code:
$(document).ready(function(){
$(document).bind("contextmenu",function(e){
return false;
});
});
To detect the current mouse coordinates in the web browser in use. To do this, we can use the below code
$(document).ready(function() { $().mousemove(function(e) { $('# MouseCoordinates ').html("X Axis Position = " + e.pageX + " and Y Axis Position = " + e.pageY); }); <DIV id=MouseCoordinates></DIV> });