Skip to content

Commit

Permalink
Backing out the change from 841f9ff, it was ineffectual in Internet E…
Browse files Browse the repository at this point in the history
…xplorer. Keeping the broken test case, for now, so that we can check into the issue some more.
  • Loading branch information
jeresig committed Dec 18, 2009
1 parent f036630 commit 27d65b5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/attributes.js
Expand Up @@ -268,14 +268,7 @@ jQuery.extend({
throw "type property can't be changed";
}

// browsers index elements by id/name on forms, give priority to attributes.
if( jQuery.nodeName( elem, "form" ) ) {
// convert the value to a string (all browsers do this but IE) see #1070
elem.setAttribute( name, "" + value );

} else {
elem[ name ] = value;
}
elem[ name ] = value;
}

// browsers index elements by id/name on forms, give priority to attributes.
Expand Down

0 comments on commit 27d65b5

Please sign in to comment.