Works fine for me (Firefox 3 on Mac OS X). What browser gave you that error?
On Fri, Sep 19, 2008 at 4:13 PM, switch13 <[EMAIL PROTECTED]> wrote: > > I can't see why this wouldn't > work: > $('h1:contains("test")').parents('body').addClass("test_class"); > -- Aaron Heimlich Web Developer [EMAIL PROTECTED]