I want to add multiple classes to an html element
I know the following code is possible.
$("ul#List").find("li.template")
.removeClass("template")
.addClass("entry")
But i want to know if the following code is also possible.?
$("ul#List").find("li.template")
.removeClass("template")
.addClass("entry1")
.addClass("entry2")
addClass
, separating the classes by a space