[jQuery] Highlight table when checkbox is checked
Hello everybody, i'm new if it comes to using any javascript but i'm
trying to learn jQuery and i got a question regarding a function, i'm
wanting to Highlight the table if the checkbox is clicked and when its
not clicked i only want to have the normal background-color. I'm
already searching for days and i still dident found the answer..
here is a preview of what i mean:
http://panzerkampf.be/phpbb/checkbox.jpg
the html code of the checkbox:
<!-- IF not topicrow.S_MOVED_TOPIC --><input type="checkbox"
class="radio" name="topic_id_list[]" value="{topicrow.TOPIC_ID}"<!--
IF topicrow.S_TOPIC_CHECKED --> checked="checked"<!-- ENDIF --> /><!--
ELSE --> <!-- ENDIF -->
the table:
<tr>
<td class="row1" colspan="8" align="center"><p
class="gen">{L_NO_TOPICS}</td>
</tr>
Cheers