[jQuery] Alternate colors of a list (<ul> <li>)

[jQuery] Alternate colors of a list (<ul> <li>)

<div dir="ltr">

Alternate background-color of trs of a table is very easy with jquery, but, anyone knows how to alternate these colors of an list? <ul> <li>? I mean, alternate the colors of the <li>s of the list

Thanks!

</div>