title: jQuery Why i cannot change the radio button value once set
body: <p>Here i got a problem in my script,</p>
  
  <p>Once we set one radio button we cannot change it anymore :</p>
  
  <pre><code>$("#divAddNewNote").click(function() {
      if ($("#divAddNewNote textarea").length == 0) {
          $("#divAddNewNote div").css("display", "none");
          box += "&lt;div class=\"noteBottomBar\"&gt;";
          box += "    &lt;div class=\"radioPrivatePublic\"&gt;";
          box += "        &lt;input type=\"radio\" id=\"radio1\" name=\"groupPrivate\" value=\"private\" /&gt;&lt;label for=\"radio1\"&gt;Private&lt;/label&gt;";
          box += "        &lt;input type=\"radio\" id=\"radio2\" name=\"groupPrivate\" value=\"public\" /&gt;&lt;label for=\"radio2\"&gt;Public&lt;/label&gt;";
          box += "    &lt;/div&gt;";
          box += "    &lt;button onclick=\"ajaxSaveNewStatus(10886);\"&gt;Post&lt;/button&gt;";
          box += "&lt;/div&gt;";
          $("#divAddNewNote").append(box);
  
          return false;
      } else {
          return false;
      }
  </code></pre>
  
  <p>});​</p>
  
  <p>It's a problem in my javascript code but i cannot find it</p>