give this a try: $(node).is(".class")
--John On 3/2/07, Sébastien Pierre <[EMAIL PROTECTED]> 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/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/