2013-12-21 97 views

回答

0

得到它

$('#gvSalesInvoiceSearch>tbody> tr').each(function() { if (i != 2) { $(item).children("th:eq(" + i + "), td:eq(" + i + ")").hide(); } var a = $(item).children("td:eq(" + i + ")").text(); if (a == "Total") { $(this).hide(); } });