Index: /Users/sgonzale/Documents/workspace/jQuery/src/core.js
===================================================================
--- /Users/sgonzale/Documents/workspace/jQuery/src/core.js (revision 6039)
+++ /Users/sgonzale/Documents/workspace/jQuery/src/core.js (working copy)
@@ -970,6 +970,11 @@
if( jQuery.nodeName( elem, "form" ) && elem.getAttributeNode(name) )
return elem.getAttributeNode( name ).nodeValue;
+ if ( name == jQuery.props.tabindex ) {
+ var attributeNode = elem.getAttributeNode(jQuery.props.tabindex);
+ return attributeNode && attributeNode.specified && attributeNode.value || undefined;
+ }
+
return elem[ name ];
}
Index: /Users/sgonzale/Documents/workspace/jQuery/src/support.js
===================================================================
--- /Users/sgonzale/Documents/workspace/jQuery/src/support.js (revision 6039)
+++ /Users/sgonzale/Documents/workspace/jQuery/src/support.js (working copy)
@@ -51,6 +51,8 @@
// (IE uses styleFloat instead of cssFloat)
cssFloat: !!a.style.cssFloat,
+ tabindex: !a.getAttributeNode('tabindex'),
+
// Will be defined later
scriptEval: false,
noCloneEvent: true
@@ -96,5 +98,6 @@
readonly: "readOnly",
maxlength: "maxLength",
cellspacing: "cellSpacing",
- rowspan: "rowSpan"
+ rowspan: "rowSpan",
+ tabindex: jQuery.support.tabindex ? "tabindex" : "tabIndex"
};
Index: /Users/sgonzale/Documents/workspace/jQuery/test/index.html
===================================================================
--- /Users/sgonzale/Documents/workspace/jQuery/test/index.html (revision 6039)
+++ /Users/sgonzale/Documents/workspace/jQuery/test/index.html (working copy)
@@ -195,6 +195,19 @@