Change background color for rows of an HTML table on click
<p>I need that when i check a checkbox i apply different background color to HTML table rows according to and ID of a user in database using jquery, and then i uncheck the checkbox go to previous state.
For the record i am not asking for code i am asking for concept.</p>

<p><a href="http://www.freeimagehosting.net/image.php?ef44cf44a5.jpg" rel="nofollow">http://www.freeimagehosting.net/image.php?ef44cf44a5.jpg</a></p>
