Re: [jQuery] siblings() expression bug?

2006-10-26 Thread Gavin M. Roy
Thanks Brian and Jörn, that indeed does work, but I still wonder if the siblings() expression should match the functionality of find() or $(). Would be nice to find a definitive answer to that. Thanks again, Gavin On Oct 26, 2006, at 7:15 AM, Jörn Zaefferer wrote: >> Perhaps you're right.

Re: [jQuery] siblings() expression bug?

2006-10-26 Thread Jörn Zaefferer
> Perhaps you're right. But, in the mean time, you could always use > > $('label').siblings().find('input,textarea').addClass('blah'); I guess that should be rather: $('label').siblings().filter('input,textarea').addClass('blah'); -- Jörn Zaefferer http://bassistance.de -- Der GMX SmartSurfer

Re: [jQuery] siblings() expression bug?

2006-10-26 Thread Brian Miller
Perhaps you're right. But, in the mean time, you could always use $('label').siblings().find('input,textarea').addClass('blah'); - Brian > Hey, this is my first post to discuss@ and I'm new to jQuery though > I'm loving it. I don't know if this is a bug or not... > > Shouldn't $('label').sib

[jQuery] siblings() expression bug?

2006-10-25 Thread Gavin M. Roy
Hey, this is my first post to discuss@ and I'm new to jQuery though I'm loving it. I don't know if this is a bug or not... Shouldn't $('label').siblings('input,textarea').addClass('blah'); work? $('input,textarea').addClass('blah') works (but not at the scope of items that are siblings to l