dynamically change alternate row colors
<p>I have 5 tr, these are row alternate color.  Now how to change tr color dynamically when I delete some row.</p>

<p>Assume below is table tr and td</p>

<p>this is my row </p>

<pre><code>tr class='odd'  
tr class='even'
tr class='odd'
tr class='even'
tr class='odd'
tr class='even'
tr class='odd'


tr class='odd'
tr class='even' if I delete this tr, than 
tr class='odd'
tr class='even'
tr class='odd'
tr class='even'
tr class='odd'


tr class='odd'
tr class='even'  class changed  odd to even
tr class='odd'   class changed  even to odd
tr class='even'  class changed  odd to even
tr class='odd'   class changed  even to odd
tr class='even'  
tr class='odd'
</code></pre>
