checkbox - How to select 2nd to 4th td from a row inside jQuery selector -
i have table of checkboxes , want select 2nd 4th td row of 7 tds. want select input:checkboxes of 2nd 4th td, of first row in table,
my code far
$('tr:nth-child(1) td:gt(2) input:checkbox')
any suggestions?
thank you
you can use slice
method:
$('tr:first td').slice(1, 4).find('input[type=checkbox]');