javascript on input value change code example
Example 1: javascript detect input change
$('#inputID').on("change keyup paste", function() {
//my input text has changed
});
Example 2: javascript input value change
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}