jquery find selected option by class

JavaScript
$(this).find('option:selected').attr("name");

Source

Also in JavaScript: