[jQuery] Getting the full class set of the current object
[jQuery] Getting the full class set of the current object
Given: <div class="a b"></div> Running: $('.a').attr('class') Returns: "a" I expected "a b". How do I obtain the full class set applied to the current object? ~ ~ Dave