$('.a')[0].className should work

On May 4, 4:01 am, DaveG <[EMAIL PROTECTED]> wrote:
> 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

Reply via email to