I need to get the number of rows in my table
and, for each row, retrieve
totalRows returns the correct number in IE, but in Mozilla, Opera, Netscape, Firefox, and Safari it returns 0. How can I fix it? Thank you!
Code:
allTR = document.getElementById("table").childNodes[0].childNodes;
totalRows = allTR.length;
and, for each row, retrieve
Code:
allTR[x].childNodes[col].innerText
totalRows returns the correct number in IE, but in Mozilla, Opera, Netscape, Firefox, and Safari it returns 0. How can I fix it? Thank you!