$('.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
- [jQuery] Re: Getting the full class set of the current ... Sam Collett
- [jQuery] Re: Getting the full class set of the cur... Jörn Zaefferer
- [jQuery] Re: Getting the full class set of the... DaveG
- [jQuery] Re: Getting the full class set of... DaveG
- [jQuery] Re: Getting the full class se... Jörn Zaefferer
- [jQuery] Re: Getting the full cla... Giant Jam Sandwich