title: jQuery not working after loading additional content
body: <p>I am quite new to javascript, but I am using it at my website. Last week I found a script that loads additional content to my page via jQuery. Everything was all right until I noticed that my other scripts stopped working because of that. For example I have a script that binds checkboxes:</p>
  
  <pre><code>&lt;script&gt;
  $(document).ready(
      function() {
          $('.class_of_checkbox').click(
              function() {
                  if(this.checked == true) {
                      $(".class_of other_checkbox").attr('checked', this.checked);
                  }
              }
          );
      }
  );
  &lt;/script&gt;
  </code></pre>
  
  <p>It is inline code. I have read that it could be caused by function ready(), which fires only when the DOM is loaded, but I am not sure how to solve this problem.</p>