I have this table and the ids are eg.: r0c1 = row 0 column 1
I want to populate with this script, but something went wrong (not doing anything):

```js
var data = new Array();
var data[0] = new Array("999", "220", "440", "840", "1 300", "1 580", "2 050", "2 860", "4 800");
var data[1] = new Array("009", "999", "999", "999", "999", "999", "999", "999", "999");

for (i = 0; i < data.length; i++) {
  for (j = 0; j < data[i].length; j++) {
    document.getElementById("r" + i + "c" + j).innerHTML = data[i][j];
  }
}

```

```html
<table>
  <tr>
    <td id="r0c0" width=60px></td>
    <td id="r0c1" width=60px></td>
    <td id="r0c2" width=60px></td>
    <td id="r0c3" width=60px></td>
    <td id="r0c4" width=60px></td>
    <td id="r0c5" width=60px></td>
    <td id="r0c6" width=60px></td>
  </tr>
  <tr>
    <td id="r1c0" width=60px></td>
    <td id="r1c1" width=60px></td>
    <td id="r1c2" width=60px></td>
    <td id="r1c3" width=60px></td>
    <td id="r1c4" width=60px></td>
    <td id="r1c5" width=60px></td>
    <td id="r1c6" width=60px></td>
  </tr>
</table>

```