title: Increment list items classes
body: <p>I want to create a list with incremented ids and hrefs using jQuery. Is this possible?</p>
  
  <pre><code>&lt;ul id="links"&gt;
    &lt;li&gt;&lt;a href="#item1"&gt;Item number 1&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#item2"&gt;Item number 2&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#item3"&gt;Item number 3&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#item4"&gt;Item number 4&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="#item5"&gt;Item number 5&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;div id="toShow"&gt;
      &lt;div id="item1" style="display:block;"&gt;&lt;/div&gt;
      &lt;div id="item2" style="display:none;"&gt;&lt;/div&gt;
      &lt;div id="item3" style="display:none;"&gt;&lt;/div&gt;
      &lt;div id="item4" style="display:none;"&gt;&lt;/div&gt;
      &lt;div id="item5" style="display:none;"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>These list items will be generated via a loop and I want to use this plugin <a href="http://www.bijusubhash.com/demo/show-hide-a-div-at-a-time-with-jquery/" rel="nofollow">http://www.bijusubhash.com/demo/show-hide-a-div-at-a-time-with-jquery/</a></p>
  
  <p>Thanks,
  David</p>