title: Set div height with javascript from another div height
body: <p>I have two divs side by side. Neither of them has a standart height, but the first one has content when the other one fill with content after a form submition. I want to set the height of the second one the same with the first one.</p>
  
  <p>Here is the html:</p>
  
  <pre><code>&lt;div id='left'&gt;
  ...........
  &lt;/div&gt;
  &lt;div id='right'&gt;
  ...........
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
      $(document).ready ( function(){
  
      var divHeight = document.getElementById('left').style.height;
      document.getElementById('right').style.height = divHeight+'px';
      });​
  &lt;/script&gt;
  </code></pre>
  
  <p>I don't have any error on the console, but the height of the second div doesn't change. Any help?</p>