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: | 
Description
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 comment:1
| component: | unfiled → attributes | 
|---|---|
| keywords: | → needsdocs | 
| milestone: | None → 1.next | 
| priority: | undecided → high | 
| status: | new → open | 
| version: | → 1.7 | 
Changed November 16, 2011 07:20PM UTC by comment:2
| resolution: | → fixed | 
|---|---|
| status: | open → closed | 
I've updated the docs.
Changed December 11, 2011 08:07PM UTC by comment:3
| keywords: | needsdocs | 
|---|
Changed March 02, 2012 04:29PM UTC by comment:4
| milestone: | 1.next | 
|---|