How to get $(this) selected option in jQuery?
For the selected value: $(this).val()
If you need the selected option element, $("option:selected", this)
$(this).find('option:selected').text();
Best and shortest way in my opinion for onchange events on the dropdown to get the selected option:
$('option:selected',this);
to get the value attribute:
$('option:selected',this).attr('value');
to get the shown part between the tags:
$('option:selected',this).text();
In your sample:
$("#select-id").change(function(){
var cur_value = $('option:selected',this).text();
});
var cur_value = $('option:selected',this).text();