title: Find distance between two DIVs using jQuery?
body: <p>I have two DIVs that I need to know the calculated browser distance (in height) of them.
  I have read about the offset feature but the examples were not written for the way I am trying to do this.</p>
  
  <p>Example usage:</p>
  
  <pre><code>&lt;div class="foo"&gt;&lt;/div&gt;
  &lt;div class="bar"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I want to know the distance between these two.</p>
  
  <p>Please help me to find the distance dynamically with jQuery.</p>