OK,
I have a select list within a tabular form that acts as a traffic light, and I want to color the background of the either the select list or the cell the value is displayed on, to match the value of the option.

Using what was stated on I tried creating a DA that executed the following
$("#f06>option").each(function() {
$(this).css({backgroundColor: this.value});
});
But it isnt doing anything.
What am I doing wrong
Thanks