Getting nth-child of a variable full of li tags
<p>I've got a variable, let's call it $listObjects. The data of it is as followed....</p>

<pre><code>&lt;li&gt;Data Here 1&lt;/li&gt;
&lt;li&gt;Data Here 2&lt;/li&gt;
&lt;li&gt;Data Here 3&lt;/li&gt;
&lt;li&gt;Data Here 4&lt;/li&gt;
</code></pre>

<p>I have tried every way I can think of, and can't find out how to get the nth-child of the list tags. Is this possible? I basically want to use nth-child(3n) on the $listObjects variable.</p>

<p>If the method above isn't possible, the $listObjects variable is being populated like so...</p>

<pre><code>var $listObjects = $data.find('li[data-type=' + $filterType + ']');
</code></pre>

<p>Would it be possible to add the nth-child(3n) to that line?</p>
