Bug Tracker

Opened 5 years ago

Closed 5 years ago

Last modified 5 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 5 years ago by rwaldron

  • Component changed from unfiled to attributes
  • Keywords needsdocs added
  • Milestone changed from None to 1.next
  • Priority changed from undecided to high
  • Status changed from new to open
  • Version set to 1.7

comment:2 Changed 5 years ago by dmethvin

  • Resolution set to fixed
  • Status changed from open to closed

I've updated the docs.

comment:3 Changed 5 years ago by addyosmani

  • Keywords needsdocs removed

comment:4 Changed 5 years ago by dmethvin

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