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