I have a table
that I fill in this way below, I would like to know how I can check if I have data in it.
$("#tablepesquisaprodutos").append("<tr class='item'>"
+ "<td>" + "<input type='checkbox' class='link-check' onchange='cbChange(this);' />" + "</td>"
+ "<td>" + CodigoProduto + "</td>"
+ "<td>" + DescricaoProduto + "</td>"
+ "<td>" + Qtd + "</td>"
+ "<td>" + PrecoCusto + "</td>"
+ "<td>" + DescontoP + "</td>"
+ "<td>" + DescontoV + "</td>"
+ "<td>" + Total.toFixed(2).replace(".", ",") + "</td>"
+ "<td>" + ICMS + "</td>"
+ "<td>" + AliquotaICMS.replace(".", ",") + "</td>"
+ "<td>" + vICMS.toFixed(2).replace(".", ",") + "</td>"
+ "<td>" + ISS.replace(".", ",") + "</td>"
+ "<td>" + vISS.toFixed(2).replace(".", ",") + "</td>"
+ "<td>" + vIPI.toFixed(2).replace(".", ",") + "</td>"
+ "<td>" + QtdFalta + "</td>"
+ "<td>" + ProdutoID + "</td>"
+ "<td>" + DataEntrega + "</td>"
+ "</tr>")
I have tried in some ways, but all of them do not identify the lines, because they are inserted dynamically.