Karl Rudd schrieb:
> You can combine the selectors with a ",":
>
> $("table td:nth-child(4), table td:nth-child(5), table
> td:nth-child(8)").css('text-align', 'right');
>
> Karl
You could also use filter in that case (untested):
$('table td').filter(':eq(4), :eq(5), :eq(8)').css('text-align', 'right');
Comma separated lists in filter require jQuery 1.1
-- Klaus
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
