Change row background color when clicked
I need your help.
I can't seem to figure out as to how I would go about changing a table rows background color when it is clicked.
I'd like to add functionality to my existing html page to highlight (change the row color to #DFDFDF) when a row is selected.
If another row is selected then, then return the row color to its initial color and apply the color the newly selected row.
Note that when the top header is clicked, id like to exempt that row from ever changing color.
Here is the fiddle: http://jsfiddle.net/q42L2/
Much thanks and appreciation for all of your help