<div id="dialogDiv" oncontextmenu="return false;"></div>
Method 2:
$('#dialogDiv').on('contextmenu', function(e){
e.preventDefault();
});
<div id="dialogDiv" oncontextmenu="return false;"></div>
$('#dialogDiv').on('contextmenu', function(e){
e.preventDefault();
});
No comments:
Post a Comment