title: Detect if the DIV have scroll bar or not
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2647761/detecting-presence-of-a-scroll-bar-in-a-div-using-jquery">Detecting presence of a scroll bar in a DIV using jQuery?</a>  </p>
  </blockquote>
  
  
  
  <p>There is markup as below,</p>
  
  <pre><code>&lt;div class="content"&gt;Lorem&lt;/div&gt;
  &lt;div class="content"&gt;Lorem Iorem Lorem Iorem Lorem Iorem Lorem Iorem Lorem IoremLorem Iorem Lorem Iorem Lorem Iorem&lt;/div&gt;
  &lt;div class="content"&gt;Lorem&lt;/div&gt;
  &lt;div class="content"&gt;Lorem&lt;/div&gt;
  </code></pre>
  
  <p>If content have scroll bar, then it should add class to that div like "scroll-image".</p>
  
  <p>Height can be different for DIVs. Any jQuery solution for this.</p>