onchange jq code example
Example 1: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 2: value change event jquery
$("#input").change(function(){
alert("The text has been changed.");
});
$('select').on('change', function() {
alert( this.value );
});
$("#input").change(function(){
alert("The text has been changed.");
});