[jQuery] Re: include children of previous siblings conditionally

2007-09-19 Thread Karl Swedberg
On Sep 19, 2007, at 10:23 AM, Glen Lipka wrote: You can use xPath to find the attribute stuff. $("a[rel=foo]") Yes, except that isn't XPath. ;-) Without the "@", it's simple CSS2.1 XPath: $('[EMAIL PROTECTED]') CSS:$('a[rel=foo]') Cheers, --Karl _ Karl Swedberg www.eng

[jQuery] Re: include children of previous siblings conditionally

2007-09-19 Thread Glen Lipka
Without testing at all... :) Maybe something like this? $(this).previous().children("[rowspan]"); You can use xPath to find the attribute stuff. $("a[rel=foo]") Glen On 9/18/07, Tim <[EMAIL PROTECTED]> wrote: > > > Given the following as an example, does anyone know how I can > highlight cells