How do I get the class of a parent in jQuery?
<p>How do I get the name of the class in the parent ? I have "test stuff" and therefore can get it's parent. Once I have the parent. how do I get the class property?</p>

<pre><code>&lt;div class="ABC"&gt;test stuff&lt;/div&gt; 
</code></pre>

<p><code>$(this).parent()</code> - gets the DIV with class ABC</p>
