how to call a function on change of input value in jquery 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 );
});