Highlighting cells with different colors

I got this example code to highlight specific cells of a table.
Please have a look at the fiddle example: http://jsfiddle.net/hzss885e/

Here I can select multiples of different values and highlight them to green color at the same time. What I would like to do is when I click a “select all” button, I’d like the selected values (4 different values) to be highlighted in 4 different colors. The color choice is not important. May be there is a simple solution to this for a javascript expert, but I can’t figure it out with my limited knowledge of jquery. I appreciate all responses. thanks.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.