title: Next/Previous buttons for Radio
body: <p>I'm trying to add "Next" &amp; "Previous" buttons to a radio style navigation. </p>
  
  <p>HTML</p>
  
  <pre><code>&lt;div class="month-picker"&gt; 
      &lt;button type="buton" class="month-picker-nav" onclick="dayNavigation('prev');"&gt;&amp;lt;&lt;/button&gt; 
      &lt;fieldset class="month-picker-fieldset"&gt;
          &lt;input type="radio" name="month" value="day1" id="day1" checked="checked"&gt;
          &lt;label for="day1" class="month-picker-label"&gt;Day 1&lt;/label&gt;
          &lt;input type="radio" name="month" value="day2" id="day2"&gt;
          &lt;label for="day2" class="month-picker-label"&gt;Day 2&lt;/label&gt;
          &lt;input type="radio" name="month" value="day3" id="day3"&gt;
          &lt;label for="day3" class="month-picker-label"&gt;Day 3&lt;/label&gt;
          &lt;input type="radio" name="month" value="day4" id="day4"&gt;
          &lt;label for="day4" class="month-picker-label"&gt;Day 4&lt;/label&gt;
          &lt;input type="radio" name="month" value="day5" id="day5"&gt;
          &lt;label for="day5" class="month-picker-label"&gt;Day 5&lt;/label&gt;
          &lt;input type="radio" name="month" value="day6" id="day6"&gt;
          &lt;label for="day6" class="month-picker-label"&gt;Day 6&lt;/label&gt;
          &lt;/fieldset&gt; 
          &lt;button type="buton" class="month-picker-nav" onclick="dayNavigation('next');"&gt;&amp;gt;&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>JAVASCRIPT:</p>
  
  <pre><code>dayNavigation = function (direction) {
      var all = $('.month-picker-fieldset input:radio');
      var current = $('.month-picker-fieldset input:radio:checked');
      var index;
      if (direction == 'prev') {
          index = all.index(current) - 1;       
      } else {
          index = all.index(current) + 1;        
      }    
      all.eq(index).attr('checked', 'checked');
      return false;
  };
  </code></pre>
  
  <p>Fiddle: <a href="http://jsfiddle.net/hTgv3/5/" rel="nofollow">http://jsfiddle.net/hTgv3/5/</a></p>
  
  <p>My problem is that the previous button doesn't work, and once the selection or "click" has been invoked manually, the next button no longer works.</p>