get value of input jquery on change 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');