Detect changes in html with jQuery

Here’s a script that is triggered everytime html content inside an element is changed.