Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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();
.....
Change History
comment:1 Changed 19 months ago by rwaldron
- Status changed from new to open
- Component changed from unfiled to attributes
- Priority changed from undecided to high
- Version set to 1.7
- Milestone changed from None to 1.next
- Keywords needsdocs added
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
