get class name of a objet 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');