Skip to main content

Bug Tracker

Side navigation

#3572 closed enhancement (fixed)

Opened November 04, 2008 12:05PM UTC

Closed October 29, 2010 05:06PM UTC

Last modified November 02, 2010 01:52PM UTC

Add array support to addClass/removeClass

Reported by: jakajancar Owned by:
Priority: low Milestone:
Component: core Version: 1.2.6
Keywords: Cc: jakajancar, flesler
Blocked by: Blocking:

addClass/removeClass support passing in multiple classes using spaces to separate them.

What about supporting Arrays too, so joining and splitting isn't necessary?

Attachments (0)
Change History (3)

Changed November 06, 2008 09:51PM UTC by flesler comment:1

cc: → jakajancar, flesler

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

Changed October 29, 2010 05:06PM UTC by rwaldron comment:2

keywords: → needsreview
milestone: 1.3
priority: minorlow
resolution: → fixed
status: newclosed

This has been implemented

Changed November 02, 2010 01:52PM UTC by rwaldron comment:3

keywords: needsreview

To clarify, take a look at this demo: