Retrieving an attribute from the next associated class
<p>Hey folks, diving into jQuery and loving it. I have a set of links ex:</p>

<pre><code>&lt;a href="#" title="Link 1" class="links"&gt;First Link&lt;/a&gt;
&lt;a href="#" title="Link 2" class="links"&gt;Second Link&lt;/a&gt;
</code></pre>

<p>and also have a function that alerts the user what the link title is when they click on one:</p>

<pre><code>$(".links").click(function(){
    var a_link = $(this);
    alert((a_link.attr("title"));
});
</code></pre>

<p><strong>Now, how would I also alert the user what the next title in the associated class is? I tried using next() in a few formats but can't figure it out.
Thanks a lot for the help.</strong></p>
