I've got a large (~800 rows) table generated by a system that needs to have checkboxes added to them so someone can check the rows they want more info about. I can mass add the checkbox column, but I'm not going to individually add values to those checkboxes... so my question:

If I have a large table like this:

```
<table>
    <tr>
        <td><input type="checkbox"></td>
        <td>ABCDEFG</td>
    </tr>
    <tr>
        <td><input type="checkbox"></td>
        <td>HIJKLMN</td>
    </tr>
    ... etc...
</table>

```

Is there a way that I can attach a value to the checkbox *using the text in the next `<td>`*? So if someone clicks the first checkbox, its value is set to 'ABCDEFG'?

There will most likely be a few checkboxes clicked. Is it better to assign the value on click, or wait until submit is hit to cycle through the checkboxes assigning values?

I'm worried the table is so large it'll cause some issues.