how to get class of selected element in jquery code example
Example 1: jquery select element with class
$('.classid')
Example 2: jquery find selected option by class
$(this).find('option:selected').attr("name");
$('.classid')
$(this).find('option:selected').attr("name");