title: jQuery or javascript: Get dynamic div height in IE
body: <p>This works in Firefox/Safari but not on IE</p>
  
  <pre><code>var h = parseInt($('#elementWhichHeightCanChange').css('height'));
  alert(h);
  </code></pre>
  
  <p>on IE it returns NaN.
  Anyone know how to get div height depending on its content on IE?</p>
  
  <p>I want to resize this popup window to fit the content, which currently works only on Firefox.</p>
  
  <p>Thank you in advance.</p>