Wednesday, 9 April 2014

jquery get class name of div

jquery get class name of div
<div id="mydivid" class="myclass"></div>
var k=$("#mydivid").prop('class');