热门

最新

红包

立Flag

投票

同城

我的

发布
bicycle643
bicycle643
3 年前
truebicycle643

js读取table内容

var tb=document.getElementById("table1");

    var rows= tb.rows;

    for(var i=0;i<rows.length;i++){

        var cells=rows[i+1].cells;

        for(var j=0;j<cells.length;j++){

            console.log(cells[j].innerText)

        }

    }

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
https://www.itu.int/dms_pub/itu-r/opb/rep/R-REP-BT.2446-1-2021-PDF-E.pdf
立即登录