check if input change javascript 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
});