CSS: zaznaczone - zmień tło <td>
Dzięki CSS można zmienićbackground-color
całego<tr>
na podstawie tego, czy<input type="checkbox">
sprawdzone?
<code><table> <!-- This is the row I want to change the background of... --> <tr> <td> <!-- ...when this is checked --> <input type="checkbox" name="cb1" id="cb1" /> </td> <td>Something 1</td> </tr> </table> </code>