I am using this div in my layout. I am new to jQuery. So I want to know class name of div.
<div class="demo"></div>
Any help is much appreciated. Thanks.
Use this code
var className = $('.demo').attr('class');
You can refer here,
http://www.w3schools.com/jquery/html_attr.asp
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With