Is there a way to change the color of a span to red within a select option in js fiddle? I am trying to modify the color of
<span class="myError">This is a required field.</span>
to red https://i.sstatic.net/nRF2c.png
select{
color: green;
}
select option { color: black; }
select option .myError{
color:red
}
<select >
<option value="">Color:
<span class="myError">This is a required field.</span>
</option>
<option value="17">Color: Midnight Blue</option>
<option value="18">Color: Radar Red</option>
</select>