How to loop though a jQuery result set
<p>I'm trying to learn jquery and I'm having some difficulty figuring out how to deal with a set of jquery results. Let's say I have some html like:</p>

<pre><code>&lt;div class="divClass"&gt;
  &lt;p class="pClass1"&gt;1&lt;/p&gt;
  &lt;p class="pClass2"&gt;Some text.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="divClass"&gt;
  &lt;p class="pClass1"&gt;2&lt;/p&gt;
  &lt;p class="pClass2"&gt;Some text.&lt;/p&gt;
&lt;/div&gt;
&lt;div class="divClass"&gt;
  &lt;p class="pClass1"&gt;3&lt;/p&gt;
  &lt;p class="pClass2"&gt;Some text.&lt;/p&gt;
&lt;/div&gt;
</code></pre>

<p>I want to loop through the div's with a class of "divClass", get the value contained in the child p with a class of "pClass1". Getting the set of div's with a class of "divClass" is easy with something like:</p>

<pre><code>divs = $(".divClass");
</code></pre>

<p>But I'm not sure how to loop through "divs" and find the "pClass1" child, then get its value. Any help would be much appriciated.</p>
