that will get the :last (or :first) for the first row only.... as it
will return 1 single object

you need to do something like

$("tr").each(function() { $(this).find("td:last").css("border",
"none"); });

which will loop across each row and do the code to the last or first
object



On Jan 15, 9:05 am, the cliff <leperisl...@gmail.com> wrote:
> Hi there, I am doing some table row colouring with :odd (this works as
> expected), but:
>
> $("tr td:last").css("border", "none");
>
> does nothing! I did some further testing on other selectors with other
> more obvious classes and the selector :last and :first don't seem to
> select anything.
>
> I have tried this with jQuery 1.2 and 1.3.
>
> Any help would be appreciated, thanks

Reply via email to