Return to Snippet

Revision: 62132
at February 4, 2013 08:37 by bitsculptor

Initial Code
    var tabindex = 1;
    $('input,select').each(function() {
        if (this.type != "hidden") {
            var $input = $(this);
            $input.attr("tabindex", tabindex);

Initial URL

Initial Description
This will reset the tabindex of all input fields on a form after page load

Initial Title
Reset tabindex on pageload

Initial Tags
javascript, jquery

Initial Language