JavaScript DIV ID Dodaj klasę
var d = document.getElementById("div1");
d.className += " otherclass";
Shadow
var d = document.getElementById("div1");
d.className += " otherclass";