JavaScript jQuery Disable focus by tabbing $("<selector>").each(function() { $(this).attr("tabindex", -1) });