title: Shortcuts for jQuery's ready() method
body: <p>I have seen some shortcuts for the ready() method and would like to know which actually happens first, because my test results confuse me..</p>
  
  <pre><code>$(document).ready(function(){
      alert("document ready");
  });
  
  $(window).load(function(){
      alert("window ready");
  });
  
  (function($){
      alert("self invoke");
  })(jQuery);
  </code></pre>
  
  <p>Here self invoke happens first, then document, then window. Is the <em>self invoke</em> technique considered a <em>ready()</em> method?</p>