jQuery - if two classes - get the first one
<p>Example:</p>

<p>Here we have <code>&lt;p class="tab1 current"&gt;&lt;/p&gt;</code></p>

<p>How can I get only the first class?</p>

<p><code>var GetFirstClass = $('p').attr('class').filter(':first');</code> ??</p>

<p>Any help much appreciated. </p>
