one change jquery code example
Example 1: jquery on dom change
$("#someDiv").bind("DOMSubtreeModified", function() {
alert("tree changed");
});
Example 2: jquery on change
$(document).on('change', 'input', function() {
// Does some stuff and logs the event to the console
});