JS如何获取table有多少行和列function init() { vartable =document.getElementById("tab1") varrows = table.rows.length aler2023-03-22JavaScript180