title: Jquery, How to unselect all radio button in radio group
body: <p>Anyone know how to unselect all radio buttons in a radio group ?</p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;div id="emptimfields"&gt;
                &lt;label id="lbl_emptim"&gt;How regulary do you employ people to help cultivate your land? &lt;/label&gt;&lt;br/&gt;&lt;br/&gt;
  
               &lt;fieldset data-role="controlgroup" data-type="vertical" id="emptim"&gt;
  
                &lt;input name="emptim" id="radio1" value="fromtimetotime" type="radio" openmrs-valuecoded="" /&gt;
                &lt;label for="radio1"&gt; From time to time &lt;/label&gt;
  
                &lt;input name="emptim" id="radio2" value="allthetime" type="radio" openmrs-valuecoded="" /&gt;
                &lt;label for="radio2"&gt;All the time&lt;/label&gt;
  
                &lt;input name="emptim" id="radio3" value="dontknow" type="radio" openmrs-valuecoded="" /&gt;
                &lt;label for="radio3"&gt; Don't know &lt;/label&gt; 
              &lt;/fieldset&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p><strong>JQuery side:</strong></p>
  
  <pre><code>$('input:radio[name=emptim]:checked').prop('checked', false); // doesn't work 
  </code></pre>
  
  <p>I'm certainly missing something basic, but I can't figure out what is the problem.</p>
  
  <p>First, I check Yes and then check a value of the second radio group : </p>
  
  <p><img src="https://i.stack.imgur.com/dI8UA.png" alt="enter image description here"></p>
  
  <p>Then, I check No to hide the second radio group:</p>
  
  <p><img src="https://i.stack.imgur.com/aS6E1.png" alt="enter image description here"></p>
  
  <p>Then, If I click on next, I get the value of what I've checked (but I checked no previously, so here I don't want an alert, I want the radioButton "From time to time" to be unchecked) :</p>
  
  <p><img src="https://i.stack.imgur.com/rvTfS.png" alt="enter image description here"></p>
  
  <p>Finally, if I come back, nothing happend :</p>
  
  <p><img src="https://i.stack.imgur.com/qXyMr.png" alt="enter image description here"></p>