title: Updating alternate colors of dynamic/ajax table rows with jQuery
body: <p>Been looking lot but couldn't find, apply alternate row colors via jQuery on <code>$(document).ready</code> event.  </p>
  
  <pre><code>$(document).ready(function(){  
  
      //Member Directory Table  
      $('.MemberDetail table tr:odd ').css('background','#F0F0EC');  
  }  
  </code></pre>
  
  <p>colors applied, but when table is updated with ajax request, it doesn't update colors. So what could be the better way to apply alternate colors to that table?</p>
  
  <p>There's an example on this page:</p>
  
  <p><a href="http://kcci.com.pk/Members/MembersSearch.aspx" rel="nofollow noreferrer"> <strong>Here Dynamic Table </strong></a></p>