[jQuery] odd or even in a non table list?

[jQuery] odd or even in a non table list?


Hi,
I have a list of DIVs with class 'myclass', now I like to add
different classes to it depending on odd or even, since it's not a
table, I can't use the ':odd' and ':even' selector, any other way to
do this? Thanks.
A.C.
<div class='myclass'></div>
<div class='myclass'></div>
<div class='myclass'></div>
<div class='myclass'></div>
<div class='myclass'></div>