get element with class name 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');