var v= $("input[type='checkbox'][name='ids']:checked").closest('tr').find('td:eq(2)').map(function(){return this.innerHTML}).get().join();//获取选中框同行的内容
td:eq(2)为第几个
$("input[name='ids']:checked").parent().parent().remove();//删除选中框的tr行
//点击全选和全不选
function selectAll(selall) {
if ($(selall).is(':checked')) {
$("input[name='ids']").each(function() {
$(this).prop("checked", true);
});
} else {
$("input[name='ids']").each(function() {
$(this).prop("checked", false);
});
}
}
<input type="checkbox" style="vertical-align:middle; margin:auto;" id="checkAll" name="checkAll" onclick="selectAll(this)" />