title: Reload function after Ajax call
body: <p>I have a plugin raty (<a href="http://wbotelhos.com/raty" rel="nofollow">http://wbotelhos.com/raty</a>) that is loaded to document.ready, the page content changes at the click of a button reloading a part of the DOM, and the document is not ready "recalculated" and I will not reload all javascript (there are other similar behavior) I tried this solution but without success</p>
  
  <pre><code>function star(){
  alert("star");
  ...code plugin...
  }
  
  $(document).ready(function() {
      star();
  });
  
  $.ajax({
          ..code.. 
          done: function(creaStella) {
              alert("D");
              star();
          },
          complete:function(){
              alert("C");
  star();
          },
  
      });
  </code></pre>
  
  <p>After call ajax i have alert("star") but i haven't my div populated</p>