I want to fill a table with values using Javascript/Jquery.
I have a table with incrementing ids (`td-1`until `td-42`) and I want to fill this table using JQuery/Javascript.
Currently I am using this script, but I know the error `$('#td-'+i)` can't work, because the ID used is build wrong: `$('#td-'12)` is not a valid id.
Has someone a quick fix for this? I am stuck...

```
for (var i = 1; i < 43; i++) {
    if (i < firstDay || i >= (howMany + firstDay)) {
        $('#td-'+i).value("");
    } else {
        $('#td-'+i).value(i-firstDay);
   }
}

```