<div id="myDiv" class="divClass"> <label class="labelClass">Hello World</label> </div>
var omyDiv = document.getElementById('myDiv'); var class= omyDiv.style.className;
document.getElementById('myDiv').className
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)