Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get class name in jquery

var className = $('#sidebar').attr('class');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #class #jquery
ADD COMMENT
Topic
Name
8+4 =