I want to disable full key boards keys using Javascript or jQuery.
And also, is it possible to disable to keyboard using PHP script?
Advertisement
Answer
try this
JavaScript
x
4
1
document.onkeydown = function (e) {
2
return false;
3
}
4
for specific area try this
JavaScript
1
4
1
$(".class").keydown(function(event) {
2
return false;
3
});
4