javascript to find input is updatec code example
Example: javascript detect input change
$('#inputID').on("change keyup paste", function() {
//my input text has changed
});
$('#inputID').on("change keyup paste", function() {
//my input text has changed
});