title: jQuery - get the first class only from a element
body: <p>The element looks like this:</p>
  
  <pre><code>&lt;li class="blah active"&gt; ... &lt;/li&gt;
  </code></pre>
  
  <p><code>jQuery.attr('class')</code> will return both classes.
  How can I get only the 1st class ('blah' in this case) with jQuery?</p>