Home
Manage Your Code
Snippet: tabindex (JavaScript)
Title: tabindex Language: JavaScript
Description: iterates over inputs and changes the tabindex so it doesn't tab to the label. Will need to change to take into account selects Views: 179
Author: Kevin Isom Date Added: 2/14/2008
Copy Code  
function(){
	var tabIndex = 1;
	$("input[type='text']").each(function(){
		this.tabIndex  = tabIndex;
		tabIndex++;
	})

}