function change() javascription code example
Example 1: document.on chenage jquer
$(document).on('change', 'input', function() {
// Does some stuff and logs the event to the console
});
Example 2: javascript input value change
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}