I am dynamically building my list and I want to be able to change the font color of the text through code. I cannot seem to get it to work. Here is my code snippet:
...
clone.attr('data-val', itmID);
clone.find('label').text(itmValue);
$select.append("<option value='" + itmValue + "'><font color='red'>"+ itmValue +"</font></option>");
...
Have also tried:
$select.append("<option style='color: red' value='" + itmValue + "'><font color='red'>"+ itmValue +"</font></option>");
Is there a color attribute I need to use instead?