How can assign multiple css classes to an html element through javascript without using any libraries?
Perhaps:
document.getElementById("myEle").className = "class1 class2";
Not tested, but should work.