title: Getting live height of html with JQuery?
body: <p>How can I get a live variable of the html element in JQuery?</p>
  
  <p>So far I have been using this,</p>
  
  <pre><code>var htmlHeight = $('html').height();
  </code></pre>
  
  <p>This has worked fine, but I have recently added some slideToggle divs into my webpage which add a lot of extra height to my document, and the current variable is out by quite a lot if the slideToggle divs are active.</p>
  
  <p>I have tried to add a live event to it but it fails as I just need the variable and do not need to bind it to anything such as click or hover.</p>