Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery source disable right click

<script type="text/javascript">
$(document).ready(function () {
    //to disable the entire page
    $("body").on("contextmenu",function(e){
        return false;
    });
    
    //to disable a section
    $("#id").on("contextmenu",function(e){
        return false;
    });
});
</script>
Source by betterstudio.com #
 
PREVIOUS NEXT
Tagged: #jquery #source #disable #click
ADD COMMENT
Topic
Name
2+4 =