As mentioned in the link that @Shree posted. If you using jquery you could use somethign like this $('#mySelectList').children().filter(':even').css('background-color','red') or you could use .addClass('myClass') instead of using .css()
–
Alistair LaingApr 15 '11 at 13:24

@Alistair Laing - Why use jQuery? If the solution is to use $(...)css(...) or $(...).addClass(...) then why not simply use CSS?
–
Richard JP Le GuenApr 15 '11 at 13:27

@Shree - That question seems to be unrelated, as it aims to change the color(s) of the selected item. This one simply aims to change the background of odds and evens.
–
Richard JP Le GuenApr 15 '11 at 13:33