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
Building on Terry's simple answer I made this into a basic jQuery function
$.prototype.disableTab = function() { this.each(function() { $(this).attr('tabindex', '-1'); }); }; $('.unfocusable-element, .another-unfocusable-element').disableTab();