jQuery: I have a class, I'm iterating it with each. The result is different each turn. How to use the this and access the value?
<p>I'm a beginner and this is my first time encountering problem like this.</p>

<p>I'm iterating a class using the each method provided by jQuery. The page have many class with the same name. So we can expect that it may be 15 iterations.</p>

<p>Each iteration have different value.</p>

<pre><code>$(".book").each(function(n) {
    var result = $(this
</code></pre>

<p>I have to get the last TD with the value List. So my option is to use </p>

<pre><code>$(".book tbody tr:last")
</code></pre>

<p>But I think this thing wouldn't work in the each environment because it won't know which context it is currently processing.</p>

<p>The $(this tbody tr:last) wouldn't work also. How can I devised a selector that will work?</p>

<pre><code>&lt;div class = "book"&gt;
    &lt;p class = "chapter"&gt;
     &lt;table&gt;
      &lt;tbody&gt;
       &lt;tr&gt;
        &lt;td&gt;General&lt;/td&gt;
        &lt;td&gt;
         &lt;b&gt;Buck&lt;/b&gt;
        &lt;/td&gt;
       &lt;/tr&gt;

       &lt;tr&gt;
        &lt;td&gt;General&lt;/td&gt;
        &lt;td&gt;List&lt;/td&gt;
       &lt;/tr&gt;
      &lt;/tbody&gt;
     &lt;/table&gt;
    &lt;/p&gt;
&lt;/div&gt;
</code></pre>
