jquery input text on change value code example
Example 1: jquery input text value change event
$("input").change(function(){
alert("The text has been changed.");
});
Example 2: jquery change value of input
$('selector').val('new value');
$("input").change(function(){
alert("The text has been changed.");
});
$('selector').val('new value');