event for change value of input tag jquery 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');