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
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