How to Disable Keyboard on Any Web Page

<script>
document.onkeydown = function (e) {
        return false;
}

</script>
 
FOR SAMLL PART OR DIV
 
<script>
$(selector).keydown(function(event) { 
    return false;
});

</script>

Comments

Popular posts from this blog

Create New Project in Laravel

How to Get Access of Database of Dynamic Site Without cPanel Details

How to Create Secondary Menu in Squarespace