set mouserover background color is none

Playcowl

New Member
I am using \[code\]select\[/code\] with some colors in jQuery but when I move the cursor I am getting a blue background color. I would like the the background color to be 'none'.Here is my code: \[code\]var oColor = {};oColor['Red'] = '#FF0000';oColor['Green'] = '#006400';oColor['Blue'] = '#0000FF'; oColor['Sienna'] = '#A0522D';$.each(oColor, function(colorName, color){ $("#color").append("<option value='"+color+"' style='height: 15px; background-color:"+color+"'></option>");}); $("#color").change(function(){ $(this).css("background-color", $(this).val());}); <select class="color" id="color" name="color" style="padding:0px;"> <option value="" >Select Color</option></select>\[/code\]
 
Back
Top