jquery set input value on change 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 );
});