title: get div height after div content load
body: <p>I am trying to set the height of one <code>div</code> equal to another. I will call them left and right divs. The right <code>div</code> content is not always the same and is loaded with jQuery. It is a filter so each time you click a filter, the content change and also the parent div height.</p>
  
  <p>This is my code:</p>
  
  <pre><code>jQuery(document).ready(function($) {
      $(window).resize(function() {
          location.reload();
      });
      var Height = $("#archive").outerHeight();
      $('.recursos-sidebar').css("height", Height);
  });
  </code></pre>
  
  <p>The problem is that the left div height is equal to right div when it is empty (no content is loaded).</p>
  
  <p>Somebody know how can I get the height of the right div after the content change each time?</p>