jquery onchange get selected option value code example
Example: select onchange get value jquery
$('#the_id_select').on('change', function() {
alert( this.value );
});
//or
$("#the_id_select").change(function(){
alert( this.value );
});
$('#the_id_select').on('change', function() {
alert( this.value );
});
//or
$("#the_id_select").change(function(){
alert( this.value );
});