/Auto-TabIndex

Adds auto sets or retrieves the index that defines the tab order for the object to jQuery.

Primary LanguageJavaScript

autotabindex.js v0.1

Adds auto sets or retrieves the index that defines the tab order for the object to JQuery.

Usage

Load after JQuery:

<script src="http://code.jquery.com/jquery-x.x.x.min.js"></script>
<script src="jquery.autotabindex.min.js"></script>

Config

autotabindex() Can optionally override some or all of the following defaults:

foo.autotabindex({
        list:      '', // list of elements
        classname: ''  //CSS Class
});

Demo

Demo