I need to add the following feature to my table:
When the user clicks on a row (selects it), the row is marked with the color #FFCF8B (the same as
#FFCF8B
Here's a fiddle using dojo. Same concepts that everyone else has mentioned.
http://jsfiddle.net/cswing/SG9dp/
NOTE: I allowed multiple rows to be selected. Question didn't state the requirement.