I have the following HTML table. Each row contains a checkbox followed by some text.
<table>
<tr>
<td><input type="checkbox" /></td>
<td>Name</td>
</tr>
<tr>
<td><input type="checkbox" /></td>
<td>Name2</td>
</tr>
</table>
I need some help writing a script that will highlight (adding a class) the rows that have been checked and unchecking will remove that class.