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