Karl & Rick
thanks a lot for your help and sorry for late reply - I was down with a flu :-( Karl's version with the each loop works fine. Lisaraƫl's solution is a bit simpler and works as col 1 is not input ready and all 'odd' td should get a binding. Thanks though for teaching me another way :handshake: Take care GGerri :-) Karl Swedberg-2 wrote: > > 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 > > > -- View this message in context: http://www.nabble.com/can-you-simplify-this-selector--easy-for-you...-tp20459678s27240p20542808.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.