How to lock or disable and again the tab key with javascript?
$(document).keydown(function(objEvent) { if (objEvent.keyCode == 9) { //tab pressed objEvent.preventDefault(); // stops its action } })
1.4m articles
1.4m replys
5 comments
57.0k users