title: jQuery - How to get height from child of class
body: <p>I'm making a page with 2 <code>div</code> elements inside another:</p>
  
  <pre><code>&lt;div id="id" class="class-name"&gt;
      &lt;div class="child-1"&gt;
  
      &lt;/div&gt;
      &lt;div class="child-2"&gt;
  
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'm trying this jQuery but it's not working:</p>
  
  <pre><code>$(window).load( function() 
  {
      $('.class-name').each(function() 
      {
          var height = $(this).$('.child-1').height();
          $(this).$('.child-2').css('top', -height);
      });
  });
  </code></pre>
  
  <p>Don't worry about class names, I've used cryptic ones here</p>