SyntaxFix
Write A Post
Hire A Developer
Questions
Using a single for loop:
var table = document.getElementById('tableID'); var count = table.rows.length; for(var i=0; i<count; i++) { console.log(table.rows[i]); }