Skip to main content

Bug Tracker

Side navigation

#10740 closed bug (fixed)

Opened November 09, 2011 07:58PM UTC

Closed November 16, 2011 07:20PM UTC

Last modified March 02, 2012 04:29PM UTC

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();

Attachments (0)
Change History (4)

Changed November 09, 2011 08:09PM UTC by rwaldron comment:1

component: unfiledattributes
keywords: → needsdocs
priority: undecidedhigh
status: newopen
version: → 1.7

Changed November 16, 2011 07:20PM UTC by dmethvin comment:2

resolution: → fixed
status: openclosed

I've updated the docs.

Changed December 11, 2011 08:07PM UTC by addyosmani comment:3

keywords: needsdocs

Changed March 02, 2012 04:29PM UTC by dmethvin comment:4