Might be a newbie question. I have a code line like this:
I need to get each class for itself.
You can use the Javascript split() method:
var classes = $(this).attr("class").split(" ");