title: Radio button selection - hide and show fields
body: <p>I'm trying to do a simple Hide/Show effect, depending on what radio button is checked.
  It's not working correctly and I'm not sure why.
  I want the hidden table (<code>#reprint_oui</code>)to <code>SHOW</code> when the user clicks "Oui"...and hide if "Non" is selected.</p>
  
  <p>Here's my JS code :</p>
  
  <pre><code>$(document).ready(function(){
  
  $("input[name$='reprint_group']").click(function(){
  
  var radio_value = $(this).val();
  
  if(radio_value=='Oui') {
      $("#reprint_oui").show("slow");
  }
  else if(radio_value=='Non') {
     $("#reprint_oui").show("slow");
     }
    });
  
  $("#reprint_oui").hide();
  
  });​
  </code></pre>
  
  <p>Here's my HTML :</p>
  
  <pre><code>&lt;h2&gt;Fiche technique de production&lt;/h2&gt;
        &lt;table width="100%" border="0"&gt;
            &lt;tr&gt;
              &lt;td width="80%"&gt;Avons-nous par le passé produit des affiches que vous vous apprêtez à commander?&lt;/td&gt;
              &lt;td width="20%"&gt;&lt;label for="oui_reprint"&gt;Oui&lt;/label&gt;
              &lt;input name="reprint_group" type="radio" id="oui_reprint" value="Oui"&gt;
              &lt;label for="non_newprint"&gt;Non&lt;/label&gt;
              &lt;input type="radio" name="reprint_group" id="non_newprint" value="Non"&gt;&lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
        &lt;table width="100%" border="0" id="reprint_oui"&gt;
          &lt;tr&gt;
            &lt;td width="80%"&gt;S'agit-il d'une réimpression sans changement?&lt;/td&gt;
            &lt;td width="20%"&gt;&lt;label for="oui_reprint"&gt;Oui&lt;/label&gt;
              &lt;input type="radio" name="reprint_sans_changement" id="oui_reprint" value="Oui"&gt;
              &lt;label for="non_newprint"&gt;Non&lt;/label&gt;
              &lt;input type="radio" name="reprint_sans_changement" id="non_newprint" value="Non"&gt;&lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
  </code></pre>
  
  <p>Here's my <a href="http://jsfiddle.net/25KkU/" rel="nofollow">fiddle</a></p>
  
  <p>Thank you</p>