get class of selected option 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");