wyo wrote:
The class is reserved for other uses or is it possible to assign
multiple classes. Besides does "addClass" add another class to an
object or does it replace the existing class?

Of course an element can have multiple classes:

<a href="#" class="first second third">foo</a>

You can get it with $('a.second') or $('a.third'), you can use .removeClass to remove an individual class, or addClass to add new ones. Of course you can also use css styling for any or all of the classes.

--
Suni

Reply via email to