How do I select items in an array using jQuery?
<p>I have this line which successfully select all elements of class"myclass" on my page:</p>

<pre><code>var myTerms = $(".myTerm");
</code></pre>

<p>The above line works, myTerms is an array of all the myTerm, each of which contain "subTerms".</p>

<p>Then as i iterate over each myTerm, I want to use jQuery to return an array of the "subTerms" within that myTerm.</p>

<p>I tried:</p>

<pre><code>var myTerms = $(".myTerm");
for (var i = 0; i &lt; myTerms.length; i++) {
    var myTerm = queryTerms[i];
    subTerms = myTerm.$("subTerms");
</code></pre>

<p>But that's a no go.
Is jQuery even intended for this or is it better to fall back to plain old java script.</p>

<p><strong>EDIT</strong></p>

<p>subTerm is the className of elements inside of myTerm</p>
