MELICK RAJEE BARANASOORIYA | Enterprise Architect
MELICK RAJEE BARANASOORIYA | Enterprise Architect
I used setAttribute method to changed the CSS class. (ex: item.setAttribute('”class”,”cssClass”)). but this method didn't worked for me. then i used className property to set the css and it worked for me.
item.className = "active";
Comments