fetch class name jquery code example
Example 1: jquery get class name
//jQuery get class name of element
var className=$('#myElementID').attr('class');
Example 2: jquery select input with class
$("input.myClass:checkbox")
//jQuery get class name of element
var className=$('#myElementID').attr('class');
$("input.myClass:checkbox")