Modify ↓
Ticket #3572 (closed enhancement: fixed)
Add array support to addClass/removeClass
| Reported by: | jakajancar | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | core | Version: | 1.2.6 |
| Keywords: | Cc: | jakajancar, flesler | |
| Blocking: | Blocked by: |
Description
addClass/removeClass support passing in multiple classes using spaces to separate them.
What about supporting Arrays too, so joining and splitting isn't necessary?
Change History
comment:2 Changed 3 years ago by rwaldron
- Keywords needsreview added
- Priority changed from minor to low
- Status changed from new to closed
- Resolution set to fixed
- Milestone 1.3 deleted
This has been implemented
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.

Could be. Can you post to the jquery-dev group and ask for some feedback ? Please link to this ticket.