I can get the contents of 1 cell, but am curious ot know why I can;t use a For Loop to go through each row using the code I have...see below
There seems to be a problem with y=x[g].cells; ... it give me the content of the first cell but seems to stop the loop and not continue?
What am i missing?
var oRows = document.getElementById('tblCart').getElementsByTagName('tr');
var iRows = oRows.length;
// writes content of cell(1,1) but why not go to (2,2) etc??
//there are 8 rows in the table and if I replace the inner for loop with document.write(g)..it
// writes out 1..8