[jQuery] Re: .is() always returning true with hierarchy selectors

2008-05-25 Thread Scott González
On May 24, 1:04 pm, Jed Schmidt <[EMAIL PROTECTED]> wrote: > Since only simple selectors are supported, perhaps it would be less > confusing if complex selectors returned undefined or null (consistent > with the recent discussion about .attr()), instead of true? Or better yet, why not ask for it

[jQuery] Re: .is() always returning true with hierarchy selectors

2008-05-24 Thread Jed Schmidt
Ariel, Thanks for pointing this out. Since only simple selectors are supported, perhaps it would be less confusing if complex selectors returned undefined or null (consistent with the recent discussion about .attr()), instead of true? Jed Schmidt [EMAIL PROTECTED] On May 25, 1:51 am, Ariel Fle

[jQuery] Re: .is() always returning true with hierarchy selectors

2008-05-24 Thread Ariel Flesler
is() supports only simple selectors, hierarchy ones cannot be used with is() ($.filter). -- Ariel Flesler http://flesler.blogspot.com On 24 mayo, 13:18, Jed Schmidt <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm getting some weird behavior from jQuery (1.2.3 and 1.2.5 alike) > when I use hiera