jquery get all class elements checked code example
Example 1: jquery get class name
//jQuery get class name of element
var className=$('#myElementID').attr('class');
Example 2: jquery get all checkbox checked
$('.theClass:checkbox:checked')
//jQuery get class name of element
var className=$('#myElementID').attr('class');
$('.theClass:checkbox:checked')