how to get class name in tag using jquery code example
Example: jquery get class name
//jQuery get class name of element
var className=$('#myElementID').attr('class');
//jQuery get class name of element
var className=$('#myElementID').attr('class');