jQuery Event : Detect changes to the html/text of a div - Stack Overflow

PHOTO EMBED

Wed Apr 13 2022 20:11:08 GMT+0000 (UTC)

Saved by @nataliaferraz #javascript #jquery

$('mydiv').on('DOMSubtreeModified', function(){
  console.log('changed');
});
content_copyCOPY

https://stackoverflow.com/questions/15657686/jquery-event-detect-changes-to-the-html-text-of-a-div