so i have a table:
Code:
<table>
  <tr>
    <td>account</td>
    <td>l1</td>
    <td>l2</td>
  </tr>
  <tr>
    <td>123456</td>
    <td><checkbox name='123456[l1]'>name 1</td>
    <td><checkbox name='123456[l2]'>address 1</td>
  </tr>
  <tr>
    <td>654321</td>
    <td><checkbox name='654321[l1]'>name 2</td>
    <td><checkbox name='654321[l2]'>address 2</td>
  </tr>
</table>
i want to add some javascript so that i can click anywhere in the table cell (on the text or in the whitespace) and have the checkbox in that cell check/uncheck as appropriate. can someone help here?

thanks!