title: Using jQuery to select a range of elements based on index
body: <p>i have a set of divs that I want to select 6-10 for:</p>
  
  <pre><code>&lt;div index=1&gt;
  &lt;div index=2&gt;
  ...
  &lt;div index=9&gt;
  &lt;div index=10&gt;
  </code></pre>
  
  <p>How do i use jQuery to select the divs where index is 6 - 10?</p>