This is completely untested, but this is a bit simpler: $('#PG1_L03-table').find('td:eq(3), td:eq(5), td:eq(7), td:eq(9)').find('input').bind......
Rik 2008/11/12 ggerri <[EMAIL PROTECTED]>: > > > Hi Gurus > > have the following selector and wonder how this could be simplified? > :confused: > > $('#PG1_L03-table td:nth-child(3) input, #PG1_L03-table td:nth-child(5) > input, #PG1_L03-table td:nth-child(7) input, #PG1_L03-table td:nth-child(9) > input').bind...... > > need to bind an event to all input fields of col 3, 5, 7 and 9 but only for > table PG1_L03-table. > > Any help appreciated :handshake: > -- > View this message in context: > http://www.nabble.com/can-you-simplify-this-selector--easy-for-you...-tp20459678s27240p20459678.html > Sent from the jQuery General Discussion mailing list archive at Nabble.com. > > -- Rik Lomas http://rikrikrik.com