switch13 Fri, 19 Sep 2008 14:31:44 -0700
I can't see why this wouldn't work: $('h1:contains("test")').parents('body').addClass("test_class");