我有以下循环,寻找
已勾选的复选框
并相应地编辑每一行。$("table.authors-list").find('input[type="checkbox"][name^="treated"]:checked').each(function () {
var row = $(this).closest('tr'),
priceInput = row.find('input[name^="transportprice"]');
priceInput.val(treatedtransportcostperton.toFixed(2));
});
什么是:checked
的相反操作,因为我想循环遍历表格中未选中复选框的行?
提前感谢。