Haha, I'll give up trying to code on the fly and actually test my JS next time


2008/11/12 Karl Swedberg <[EMAIL PROTECTED]>:
> On Nov 12, 2008, at 11:13 AM, Rik Lomas wrote:
>
> Following on from Karl, how about:
>
> $('#PG1_L03-table td:nth-child(2n+3)').slice(0, 4).find('input')
>
>
> That won't work either, unless the table has only one row. Would have to do
> something like this instead:
>         $('#PG1_L03-table tr').each(function() {
>             $('td:nth-child(2n+3):lt(4)', this).find('input')
>         });
>
>
>
> Cheers,
> --Karl
>



-- 
Rik Lomas
http://rikrikrik.com

Reply via email to