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();
.....
http://jsfiddle.net/LMbWj/
Change History (4)
Component: |
unfiled →
attributes
|
Keywords: |
needsdocs added
|
Milestone: |
None →
1.next
|
Priority: |
undecided →
high
|
Status: |
new →
open
|
Version: |
→ 1.7
|
Resolution: |
→ fixed
|
Status: |
open →
closed
|
Keywords: |
needsdocs removed
|
I've updated the docs.