One of the nice little UI features in GMail is how it will highlight an entire table row when you check the checkbox for a particular mail message. It's a relatively simple thing to do but I wanted to whip up a quick sample for myself. Here is one way to do it with ColdFusion and jQuery.

First, our data:
   view plainprintabout
 <cfquery name="art" datasource="cfartgallery">
 select    *
 from    art
 </cfquery>
Yes, I know, select * is evil. I figure as long as I don't drop an entire database in my SQL statement I'm coming out ahead. Next - the output:
   view plainprintabout
 <table id="artTable" border="1">
     <tr>
         <td> </td>
         <th>Name</th>
         <th>Price</th>
     </tr>
     <cfoutput query="art">
         <tr>
             <td><input type="checkbox" name="select" value="#artid#"></td>
10              <td>#artname#</td>
11              <td>#dollarFormat(price)#</td>
12          </tr>
13      </cfoutput>
14  </table>
Nothing too fancy here. I display two columns from the query along with a checkbox in the left most column. Now for the JavaScript:
   view plainprintabout
 $(document).ready(function() {
 
     $("#artTable input:checkbox").click(function() {
         $(this).parent().parent().toggleClass("highlight")
     })
 })
Basically - listen to click events in checkboxes within my art table, and on click, toggle a CSS class named highlight. Not exactly rocket science, but it gets the job done! The entire template is below the screen shot. Enjoy!
   view plainprintabout
 <html>
 
 <head>
 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
 <script>
 $(document).ready(function() {
 
     $("#artTable input:checkbox").click(function() {
         $(this).parent().parent().toggleClass("highlight")
10      })
11  })
12  </script>
13  <style>
14  .highlight {
15      background-color:pink;
16  }
17  </style>
18  </head>
19  
20  <body>
21  
22  <cfquery name="art" datasource="cfartgallery">
23  select    *
24  from    art
25  </cfquery>
26  
27  <table id="artTable" border="1">
28      <tr>
29          <td> </td>
30          <th>Name</th>
31          <th>Price</th>
32      </tr>
33      <cfoutput query="art">
34          <tr>
35              <td><input type="checkbox" name="select" value="#artid#"></td>
36              <td>#artname#</td>
37              <td>#dollarFormat(price)#</td>
38          </tr>
39      </cfoutput>
40  </table>
41  
42  </body>
43  </html>