title: Alternate days in datepicker
body: <p>I am trying to <code>addClass</code> in alternate Saturdays. I have tried 2 methods but none works properly.</p>
  
  <p><strong>#1</strong><br>
  I added <code>:odd</code> to every every <code>tr</code>. <strong><a href="https://jsfiddle.net/locateganesh/jajoevjy/1/" rel="nofollow noreferrer">Demo Fiddle</a></strong> </p>
  
  <pre><code>$('.ui-datepicker-calendar tr:odd').each(function(){
     $(this).addClass('odd');
  });
  </code></pre>
  
  <p>But If see moth of April ending and starting May are not in odd state.</p>
  
  <p><strong>#2</strong><br>
  I got an even odd hack somewhere in fiddle. <strong><a href="https://jsfiddle.net/locateganesh/jajoevjy/3/" rel="nofollow noreferrer">Demo Fiddle</a></strong> </p>
  
  <pre><code>$('td.ui-datepicker-week-end .ui-state-default').each(function(i, el) {
     if (i % 2 === 0) { 
      $(this).addClass('sat');
     }
     else { 
      $(this).addClass('sun');                
     }
  });
  
  $('.sat').each(function(i, el) {
     if (i % 2 === 0) { 
      $(this).addClass('work-sat');
     }
     else {
      $(this).addClass('non-sat');    
     }
  });
  </code></pre>
  
  <p>This works fine but if you change some next previous month with next, prev buttons. it does automatically even becomes odd and vice-versa. Also Auto change after some months it changes automatically.<br>
  I don't know why does it happens? </p>