title: jQuery change content when radio button selected
body: <p>can someone give me help on a simple jQuery code that when clicked different radio bottuon then display the different content.<br>
  <a href="http://jsfiddle.net/AXsVY/" rel="nofollow">http://jsfiddle.net/AXsVY/</a></p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;label class="radio inline"&gt;
      &lt;input id="up_radio" type="radio" name="optionsRadios" value="update" checked&gt;
      Update
  &lt;/label&gt;
  &lt;label class="radio inline"&gt;
      &lt;input id="ov_radio" type="radio" name="optionsRadios" value="overwritten"&gt;  
      Overwritten
  &lt;/label&gt;
  
  &lt;p id="cont"&gt;
      sth. here
  &lt;/p&gt;
  </code></pre>
  
  <p><strong>JavaScript</strong></p>
  
  <pre><code>$("#up_radio").click(function(){
  
      if ($("#up_radio").is(":checked")) {
  
          //change to "show update"
           $("#cont").value = "show update";
  
      } else if ($("#ov_radio").is(":checked")) {
  
         // change to "show overwritten"
      }
  });
  </code></pre>