Get the text of the next attribute
<p>I am looking at getting text of the next attribute (class) of what I currently clicked on. Something like this...</p>

<pre><code>$(this).next().attr('class').text();
</code></pre>

<p>Thanks</p>

<p><strong>Edit</strong></p>

<p>Here is my HTML</p>

<pre><code>&lt;span class="Directory"&gt;&lt;/span&gt;
&lt;span class="Category"&gt;My Account&lt;/span&gt;
</code></pre>

<p>I want to get the text of class 'Category' when I click on class 'Directory'</p>
