Inside the div element set within variable called $target I have elements with single class. I want to pass throw each element and get its class name. Something like this:
$.each($target.children(), function(){
//get class from 'this' - how?
});
What is the best way to do so?
I don't want to do it using classic JavaScript (.className)!