I am trying to loop through tables inside of tables in Javascript. Insteadof the person using rows and columns. They have done tables inside tables.
So I am trying to loop through tables which contain an ID of table-1000. Then loop through the defination of the table which have a value of apple.
Then dsiplay the indxes.
So far I have done the following:
var table = document.getElementById("table") //getting the parent table
for (var i = 0, row; row = table.rows[i]; i++) {
}
Can someone please help. I am still a beginner at coding. Any help is appreciated. Thanks.