set value of input jquerty code example
Example: javascript change input value jquery
$('#IdOfTheField').on('change', function() {
alert( this.value );
});
$('#IdOfTheField').on('change', function() {
alert( this.value );
});