onchange on jquery code example
Example 1: jquery onchange
$("input").change(function(){
alert("The text has been changed.");
});
Example 2: .on change get value
$('select').on('change', function() {
alert( this.value );
});
Example 3: javascript input value change
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}