This script changes colors when a row in a specific column is clicked:
$(document).ready(function(){
$("#rowClick").children("tbody").children("tr").children("td").click(function(){
$(this.parentNode).toggleClass("enroute");
});
});
CSS:
.placed{
background: #3498db;}
.pickedUp{
background: #f1c40f;}
.enroute{
background: #2ecc71;}
You can view some examples here: http://jsfiddle.net/pqyxM/5/ and http://jsfiddle.net/FSFpZ/
If you have any insights on how to make the color change persist with each click, please share your thoughts. Thank you!