get class name with jquery
<p>Inside div element jQuery variable $target I have elements with single class.
I want to pass throw each element and get its class name.
Somwthing like this:</p>

<pre><code>$.each($target.children(), function(){
    //get class from 'this' - how?
});
</code></pre>

<p>What is the best way to do so?</p>

<p>I don't want to do it using classic JavaScript (.className)!</p>
