I have several divs within the same form. What I am trying to do is to disable the Tab key in one of the divs in the form without disabl
div
If you're dealing with an input element, I found it useful to set the pointer focus to back itself.
$('input').on('keydown', function(e) { if (e.keyCode == 9) { $(this).focus(); e.preventDefault(); } });