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. 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 hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/