Posted on: 8/9/2013 9:17:47 PM | Views : 847

It may  be more like a javascript question, but the following table cells are generated by ASP.NET:
I have a table with n x n matrix, and each cell would have an id like this: <td id='00'>value</td> all the way to <td id='nn'>value</td>.  Theoretically, I can use Document.getElementById('00') to get the value of the first cell, right?
So I would have javascript code something like this to get the values in the table:
for (var i=0; i<n.length; i++)
{  for (var j=0; j<n.length; j++) {  document.getElementById(i&j); }
}
Please help to correct the code.  Thanks.
...

Go to the complete details ...