Change font colors in a drop down menu
I have a standard drop down menu.
select size="1" name="a1">
<option selected>.</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
I would like the default color of the text in the dropdown to be red. However when the user clicks on a selection the font color would change to green for example in the dropdown menu. Can anyone help with the javascript to make this work? thanks
|