jQuery How to get height of div after content change
<p>I'm changing content of div dynamically, and I need to get it's new height right after the change.</p>

<pre><code>var text='Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla Bla-bla-bla ';
$('.jspPane').html(text);
$('.jspPane').ready(function()
{
  alert($('.jspPane').height());
});
</code></pre>

<p>For example this code will give me <strong>2376</strong></p>

<p>But when I call <code>$('.jspPane').height();</code> in Google Chrome console it gives me <strong>90</strong> which is the right value for this text.</p>

<p>What am I doing wrong?</p>

<p>Thank you!</p>

<p>Sincerely, Stan</p>
