trigger an event of a input fiels when its value changed by a jquery function code example
Example 1: on change jquery
$("input").change(function(){
alert("The text has been changed.");
});
Example 2: jquery on element change
// On element change.
$('mydiv').bind('DOMSubtreeModified', function () {
console.log('changed');
});