In this tutorial of Php Tutorials for Beginners we will show you how to disable right click using javascript.
Here is the javascript code to disable right click.
Here is the javascript code to disable right click.
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script type="text/javascript" language="javascript">
$(function() {
$(this).bind("contextmenu", function(e) {
e.preventDefault();
});
});
</script>
<script type="text/javascript" language="javascript">
$(function() {
$(this).bind("contextmenu", function(e) {
e.preventDefault();
});
});
</script>