How can I delete all rows of an HTML table except the \'s using Javascript, and without looping through all the rows in the table? I have a very huge 19条回答 爱一瞬间的悲伤 (楼主) 2020-12-04 12:29 Just Clear the table body. $("#tblbody").html(""); 0 讨论(0) 查看其它19个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
\'s using Javascript, and without looping through all the rows in the table? I have a very huge 19条回答 爱一瞬间的悲伤 (楼主) 2020-12-04 12:29 Just Clear the table body. $("#tblbody").html(""); 0 讨论(0) 查看其它19个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
Just Clear the table body.
$("#tblbody").html("");