Jquery: how to get one class without .split()
<p>I have a div with two class.</p>

<pre><code>&lt;div class="one two"&gt;&lt;/div&gt;
</code></pre>

<p>I need to get first of them without <strong>.split()</strong> callback.</p>

<pre><code>$(this).parent('div[class]').attr('class').split(' ')[0]
</code></pre>

<p>Any idea?</p>

<p>Thanks in advance.</p>

<p><strong>UPD</strong>: Why I need this? ) 
Because then I use <strong>split()</strong>, code inspector in Chrome said <strong>exactly</strong> :</p>

<blockquote>
  <p>Uncaught TypeError: Cannot call method 'split' of undefined</p>
</blockquote>

<p>аnd some function not work properly.</p>
