Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10740 closed bug (fixed)

Wrong/Missing Documentation for fn.removeAttr

Reported by: dcherman Owned by:
Priority: high Milestone:
Component: attributes Version: 1.7
Keywords: Cc:
Blocked by: Blocking:


For jQuery.fn.removeAttr, the docs only show it as accepting a single attribute name.

Per the source, you can pass in a space delimited string and it'll split/remove as needed.

attrNames = ( value || "" ).split( rspace );
l = attrNames.length;

for ( ; i < l; i++ ) {
    name = attrNames[ i ].toLowerCase();


Change History (4)

comment:1 Changed 11 years ago by Rick Waldron

Component: unfiledattributes
Keywords: needsdocs added
Milestone: None1.next
Priority: undecidedhigh
Status: newopen
Version: 1.7

comment:2 Changed 11 years ago by dmethvin

Resolution: fixed
Status: openclosed

I've updated the docs.

comment:3 Changed 11 years ago by addyosmani

Keywords: needsdocs removed

comment:4 Changed 11 years ago by dmethvin

Milestone: 1.next
Note: See TracTickets for help on using tickets.