Do pętli w wierszu tabeli HTML
var table = document.getElementById("hoursContainer");
//iterate trough rows
for (var i = 0, row; row = table.rows[i]; i++) {
//iterate trough columns
for (var j = 0, col; col = row.cells[j]; j++) {
// do something
}
}
}
Yucky Yacare