JS Div Detect Change

$("element).bind("DOMSubtreeModified", function () {
  console.log("ok");
  ...
});
cadot.eu