Back

.addClass( names )

Add classes to each element in the current set

Params

names{String}A space-separated list of classes to be added

Returns

DollarJS (chainable)

Examples

$('p').addClass('one two three')