Call elements inside $(this)?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7386100/how-to-find-an-element-within-an-element">How to find an element within an element</a>  </p>
</blockquote>



<p>Im running a loop to go through each table row. I want to access the elements inside each table row. How do I do this?</p>

<p><strong>Table:</strong></p>

<pre><code>&lt;table&gt;
&lt;tr&gt; &lt;td class="a"&gt;x&lt;/td&gt; &lt;td class="b"&gt;x&lt;/td&gt; &lt;td class="c"&gt;x&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class="a"&gt;x&lt;/td&gt; &lt;td class="b"&gt;x&lt;/td&gt; &lt;td class="c"&gt;x&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class="a"&gt;x&lt;/td&gt; &lt;td class="b"&gt;x&lt;/td&gt; &lt;td class="c"&gt;x&lt;/td&gt; &lt;/tr&gt;
&lt;tr&gt; &lt;td class="a"&gt;x&lt;/td&gt; &lt;td class="b"&gt;x&lt;/td&gt; &lt;td class="c"&gt;x&lt;/td&gt; &lt;/tr&gt;
&lt;/table&gt;
</code></pre>

<p><strong>Code doesnt work:</strong></p>

<pre><code>$("tr").each(function(index) {

    // get class a text
    $(this + " td.a").text();

    // get class b text
    $(this + " td.b").text();

    // get class c text
    $(this + " td.c").text();

});
</code></pre>
