On 2/15/07, *Angelo Sozzi* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:
>
>
> Just a minor (nice to know) question:
> When stripping multiple tables or lists on a single page
> $(.stripMe li:even).addClass('alt');
> won't work as it itterates over all the li element regardless of
> the table
> they are in. So I went for:
>
You can limit the "scope" to a particular table via;
$('.stripMe li:even',document.getElementByID('table')).addClass('alt');
for instance.
~ Brice
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/