detect changes in text 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
});