JavaScript遍历表格问题

2025-05-11 00:11:51
推荐回答(1个)
回答1:

给table加个ID










文章标题显示中
文章标题已结束


js
function ReadTable() {
$("#table01").find("tr").each(function (index, element) {
if($(this).children("td").eq(1).text()=="已结束")

{
$(this).hide();

}
})
}