Hi,
I am trying to set the background color differently for each element. I am unable to do it like this,
<div class=”col-sm-10″>
<select id=”pcolor” style=”width: auto”>
<option value=”16775408″ style=”background-color: AliceBlue” >AliceBlue</option>
<option value=”14150650″ style=”background-color: AntiqueWhite”>AntiqueWhite</option>
<option value=”13959039″ style=”background-color: Aquamarine”>Aquamarine</option>
<option value=”3329434″ style=”background-color: YellowGreen”>YellowGreen</option>
</select>
</div>
But somehow the background color is not setting.If it is a jquery control is working fine.
Thanks,
Reva