Hello,
Im looking to change the background color of a select box.
I want to alternate the the odd/even into different colors. Im not going to know what is in the options as they are derived from a DB.
But I cant get the selector right:
$(document).ready(function() {
$("#SCFILE:option:odd").css("background-color","red");
$("#SCFILE:option:even").css("background-color","blue");
How would I do all select boxes?
BTW, those are not the colors Im plannign on using, it's just for illustration purposes