X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fsupport.js;h=c334e78d600cd113609cc32da7e06e2f2bdc4fc2;hb=089da4ea777ed5c30dfc835b70b953c86943d62e;hp=6d6bbce7422c9f23ac6d53aedb7ebe1b697ef737;hpb=1b0276dc57cbca869027ba19986b0810f7042854;p=jquery.git diff --git a/src/support.js b/src/support.js index 6d6bbce..c334e78 100644 --- a/src/support.js +++ b/src/support.js @@ -51,6 +51,10 @@ // (IE uses styleFloat instead of cssFloat) cssFloat: !!a.style.cssFloat, + // Verify tabindex attribute existence + // (IE uses tabIndex instead of tabindex) + tabindex: !a.getAttributeNode('tabindex'), + // Will be defined later scriptEval: false, noCloneEvent: true @@ -96,5 +100,6 @@ jQuery.props = { readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", - rowspan: "rowSpan" + rowspan: "rowSpan", + tabindex: jQuery.support.tabindex ? "tabindex" : "tabIndex" };