[jQuery] Re: Nested Selectors

2008-09-03 Thread seangates
Try this: $(".someDiv .someSpan:parent(:has(input)[! @checked])").addClass("notSelectedCB"); On Sep 1, 2:12 am, SeanCurtis <[EMAIL PROTECTED]> wrote: > Hi Guys, > > Just wondering how many times you can nest selector functions like > parent, not, has, etc > > I tried the following... > > $ > (".

[jQuery] Re: Nested Selectors

2008-09-03 Thread seangates
I'm having the same problem and noticed you're using the :not selector and having problems when it is nested. Mine looks something like this: $('#results_table tbody tr:visible(:not(.' + $(this).val() + "))").hide(); ... where $(this).val() is being provided by an .each loop. Any suggestions o