jquery on dom change

JavaScript
$("#someDiv").bind("DOMSubtreeModified", function() {
    alert("tree changed");
});$(document).on('change', 'input', function() {
  // Does some stuff and logs the event to the console
});

Source

Also in JavaScript: