You can use: $(node).is('.className')
Sébastien Pierre wrote: > Hi all, > > I was wondering if somebody would be interested in a hasClass(...) > function for jQuery. I would definitely find it useful, and am > willing to contribute it. > > -- Sébastien > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/