How can assign multiple css classes to an html element through javascript without using any libraries?
just use this
element.getAttributeNode("class").value += " antherClass";
take care about Space to avoid mix old class with new class