How to target list items per two lists instead of even or odd
<p>As the title says I want to give different bg colors per 2 lists with jQuery... 
For example:</p>

<pre><code>&lt;li&gt;&lt;!-- blue --&gt;&lt;/li&gt;
&lt;li&gt;&lt;!-- blue --&gt;&lt;/li&gt;
&lt;li&gt;&lt;!-- red --&gt;&lt;/li&gt;
&lt;li&gt;&lt;!-- red --&gt;&lt;/li&gt;
</code></pre>

<p>Thanks in advance!</p>

<p>Update: 
The following code indicates odd and even lists, I wonder if there is a way to target per 2 lists like that... instead of <code>:odd</code> or <code>:even</code> how can I accomplish this? </p>

<pre><code>$("li:odd").addClass("blue");
$("li:even").addClass("red");
</code></pre>
