DOM
<select name="course">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
jquery
$('select[name=course]').change(function(){
var price = $('select[name=course] option:selected').val();
})
2022-05-20 10:26:33
DOM
<select name="course">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
jquery
$('select[name=course]').change(function(){
var price = $('select[name=course] option:selected').val();
})