on change get input value jquery code example
Example 1: jquery onchange input value
$("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');