title: How to uncheck a radio button?
body: <p>I have group of radio buttons that I want to uncheck after an AJAX form is submitted using jQuery. I have the following function:</p>
  
  <pre><code>function clearForm(){
    $('#frm input[type="text"]').each(function(){
        $(this).val("");  
    });
    $('#frm input[type="radio":checked]').each(function(){
        $(this).checked = false;  
    });
   }
  </code></pre>
  
  <p>With the help of this function, I can clear the values at the text boxes, but I can't clear the values of the radio buttons.</p>
  
  <p>By the way, I also tried <code>$(this).val("");</code> but that didn't work.</p>