JQuery Add Class every 6 LI's
<p>I seem to be having a problem with this jquery code.</p>

<p>I want to add a class to the 1st and then every 6 <li>'s... I'm getting the 1st and the 6th but on the third one round it's doing the 11th instead on the 12th.</p>

<pre><code>Here is the code:Query:

$('ul li:nth-child(5n+1)').addClass("red").text("Here");

Here is the css:

li { background-color:blue; }
.red{ background-color: red; }
</code></pre>
