:odd removes bullets in "li" , but :even works correctly, is this bug or do i miss anything?

:odd removes bullets in "li" , but :even works correctly, is this bug or do i miss anything?

Hello all,

I created a class

.highlightodd
{
    background    : #eee;
    color        : #000;
}

then

<script type="text/javascript">
$(document).ready(function()
{
  
    $(".liHiLite:odd").addClass("highlightodd");
 
});
</script>

The output works for this following code,

  1. <ul>
  2. <li class="liHiLite">li item 1</li>
  3. <li class="liHiLite">li item 2</li>
  4. <li class="liHiLite">li item 3</li>
  5. <li class="liHiLite">li item 4</li>
  6. <li class="liHiLite">li item 5</li>
  7. </ul>
But weirdly it removes bullets,

But when i use "even" it works fine and does not remove bullet,

Is this a bug or am i missing anything?

Thank you,