[jQuery] Get the last class name of an element

[jQuery] Get the last class name of an element


Hey all
I know that $element.attr('class') will return the CSS class of an element.
But if the element has multiple classes, can I somehow retrieve the last
class name via jQuery?
Thanks!
--
View this message in context: http://www.nabble.com/Get-the-last-class-name-of-an-element-tp15758921s27240p15758921.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.