jquery on select change get value code example
Example 1: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 2: select onchange get value jquery
$('#the_id_select').on('change', function() {
alert( this.value );
});
//or
$("#the_id_select").change(function(){
alert( this.value );
});
Example 3: jQuery change select value
$("#mySelectElementID").val("my_new_value"); //change selected option/value with jQuery
Example 4: jquery detect textarea change
$('#myTextAreaID').on('input propertychange paste', function() {
//my Textarea content has changed
});