Witam ; ) tak na szybko:
<html>
<head>
<title>Tableka i checkboxy</title>
<style>
.normal{
background: #fff;
color: #000;
}
.checked{
background: #f00;
color: #000;
}
</style>
<script type="text/javascript">
window.onload = function() {
var tab = document.getElementsByTagName("input");
for(var i=0;i<tab.length;i++){
tab[i].onclick = check;
}
}
function check(){
if(this.checked)
this.parentNode.parentNode.className = "checked";
else
this.parentNode.parentNode.className = "normal";
}
</script>
</head>
<body>
<table>
<tr>
<td><input type="checkbox" name="check01"/></td>
<td>lol</td>
</tr>
<tr>
<td><input type="checkbox" name="check02"/></td>
<td>lol</td>
</tr>
</table>
</body>
</html>
A następnym razem zrób tak jak kolega wyżej mówi : ) Pozdrawiam