SyntaxFix
Write A Post
Hire A Developer
Questions
in case if your table has tbody
let tbl = document.getElementById("tbl").getElementsByTagName('tbody')[0]; console.log(tbl.rows[0].cells[0].innerHTML)