jQuery select modifier la valeur sélectionnée
$('select').on('change', function() {
alert( this.value );
});
ZioTino
$('select').on('change', function() {
alert( this.value );
});
$('select option[value=8272]').attr('selected', '');
$('#ddlID').val('New_OptionValue').change()
$("#mySelectElementID").val("my_new_value"); //change selected option/value with jQuery
$("div.id_100 select").val("val2");
<select onchange="getval(this);">
<option value="1">One</option>
<option value="2">Two</option>
</select>
Run code snippet