This code is nonsense:
Code:
myArray[[col][row]] = cell.innerHTML;
SURELY you actually mean
Code:
myArray[col][row] = cell.innerHTML;
But I also don't understand this:
Code:
if (parseInt(cell.innerHTML)) {
What are you expecting that to do??? Are you trying to find out if the cell contents are a number? Okay, that works. But better would be to use
! isNaN( )
In any case, though, you don't provide any default value when the if test fails, so you that array element WILL NOT BE DEFINED. Unless, of course, it was defined earlier.