diff options
Diffstat (limited to 'src/attributes.js')
-rw-r--r-- | src/attributes.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/attributes.js b/src/attributes.js index 6dc39b97c..58549ec42 100644 --- a/src/attributes.js +++ b/src/attributes.js @@ -316,7 +316,8 @@ jQuery.extend({ notxml = nType !== 1 || !jQuery.isXMLDoc( elem ); - // Normalize the name if needed + // All attributes are lowercase + // Grab necessary hook if one is defined if ( notxml ) { name = name.toLowerCase(); hooks = jQuery.attrHooks[ name ] || (rboolean.test( name ) ? boolHook : nodeHook); @@ -619,6 +620,11 @@ if ( !jQuery.support.optSelected ) { }); } +// IE6/7 call enctype encoding +if ( !jQuery.support.enctype ) { + jQuery.propFix.enctype = "encoding"; +} + // Radios and checkboxes getter/setter if ( !jQuery.support.checkOn ) { jQuery.each([ "radio", "checkbox" ], function() { |