title: JQuery does not execute on $(document).change()
body: <p>I need to make some JQuery execute when the page/document has changed - in this case, when a div with a specific CSS class is displayed.</p>
  
  <p>I have the following JQuery code:</p>
  
  <pre><code>   &lt;script&gt;
             $(document).change(function () {
                 if ($('.validation_errors').length) {
                     alert("test");
                 }
             }
      &lt;/script&gt;
  </code></pre>
  
  <p>However, it does not execute and display the alert. Am I missing something here?</p>