title: window.onload vs document.ready jQuery
body: <p>I have a site with two columns. I want to have equal height on both using jQuery.</p>
  
  <p>I'm trying to get the logo column height.  I had:</p>
  
  <pre><code>$(document).ready(function() {
      alert($('#logo').height());
  });​
  </code></pre>
  
  <p>and it didn't work.  So I changed it to:</p>
  
  <pre><code>window.onload = function(){
      alert($('#logo').height());
  }
  </code></pre>
  
  <p>And it's working.  What is going on in here?</p>