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

Reply via email to