how can i get $(document).height() NEW value when new data has been added?
<p>Lets suppose that <strong>$(document).height()</strong> is 1000. Then i insert a new div at the bottom of the page with height=100. The <strong>$(document).height()</strong> should be 1100 but it keeps throwing 1000 to me.</p>

<p>How can i get the new $(document).height() dynamically?</p>

<p>Thank!</p>
