title: Should I use window.load or document.ready jquery
body: <p>Recently I saw that you could use either </p>
  
  <pre><code>$('document').ready(function() {
  //Do Code
  });
  </code></pre>
  
  <p>or </p>
  
  <pre><code>$('window').load(function() {
  //Do Code
  });
  </code></pre>
  
  <p>for jQuery.</p>
  
  <p>However, they seem the same to me! But clearly aren't. </p>
  
  <p>So my question is: Which one should I use for a website sort of based on animation and async? And also which one of the two is generally better to use?</p>
  
  <p>Thanks.</p>