input trigger change javascript code example
Example 1: javascript input value change
function updateInput(ish){
document.getElementById("fieldname").value = ish;
}
Example 2: jquery detect textarea change
$('#myTextAreaID').on('input propertychange paste', function() {
//my Textarea content has changed
});