How to disable full keyboard keys using javascript or jquery?

I want to disable full key boards keys using java-script or jQuery. and is it possible to disable to keyboard using php script ?

Answer

try this

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

for specific area try this

$(".class").keydown(function(event) { 
    return false;
});

Leave a Reply

Your email address will not be published. Required fields are marked *