jquery check select option classname match code example Example: jquery find selected option by class $(this).find('option:selected').attr("name");