PsyGnosis PsyGnosis - 1 year ago 151
jQuery Question

Lock tab key with javascript?

Hey guys.. How to lock or disable and again the tab key with javascript

Answer Source
$(document).keydown(function(objEvent) {
    if (objEvent.keyCode == 9) {  //tab pressed
        objEvent.preventDefault(); // stops its action
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download