:last isn't working
<p><code>jQuery(".xg_module_body .postbody a:last").addClass("continue");</code></p>

<p>Is there something wrong w/ that code? The class doesn't get added for some reason.</p>

<p>I'm trying to add a link to just the last <code>a</code> in <code>.postbody</code>. I've tried <code>:last-child</code> and it adds a class to both <code>a</code> tags. So why wouldn't <code>:last</code> work?</p>

<pre><code>&lt;div class="xg_module_body"&gt;
    &lt;h3&gt;
        &lt;span&gt;
            &lt;a href="link"&gt;
                &lt;img src="image url"&gt;
            &lt;/a&gt;
        &lt;/span&gt;
        &lt;a href="link"&gt;Lorem Ipsum&lt;/a&gt;
    &lt;/h3&gt;
    &lt;div class="postbody"&gt;
        &lt;p&gt;
            &lt;a href="link"&gt;&lt;img src="image url"&gt;&lt;/a&gt;
        &lt;/p&gt;
        &lt;p&gt;Lorem Ipsum&lt;/p&gt;
        &lt;a href="link"&gt;Continue&lt;/a&gt;
    &lt;/div&gt;
    &lt;p class="small"&gt;
        &lt;a href="link"&gt;Lorem Ipsum&lt;/a&gt;
    &lt;/p&gt;
    &lt;p&gt;
        &lt;a href="link"&gt;Lorem Ipsum&lt;/a&gt;
    &lt;/p&gt;
&lt;/div&gt;
</code></pre>
