title: Reload $(document).ready(); functions when AJAX has loaded
body: <p>I am currently skinning an application where I have no access to the markup or scripts apart from one CSS file and on JS file so I can add my own styles and functions. Not an ideal set-up I know but believe me it's not my choice. Oh and all the content on this site is generated via AJAX requests, nice.</p>
  
  <p>Anyway, the problem is that I have a lot of Javascript that needs to run on <code>$(document).ready();</code> but as the page never really reloads (due to the AJAX), none of the code gets executed.</p>
  
  <p>Is there a way I can set all the functions in <code>$(document).ready();</code> to run everytime the AJAX call has been completed?</p>
  
  <p>I've included the built in AJAX call (that I cannot edit) below.</p>
  
  <pre><code>$.ajax({
    type: "POST",
    dataType: "html",
    url: url1,
    data: pars,
    success: function(data)
    {
      $('#thisContent').html(data);
      loadMenu(urlToLoad);
    } 
  });
  </code></pre>