title: Need Help To Uncheck Radio Button If Aleady Checked Using Jquery
body: <p>i need help to uncheck or check same radio button if button already checked? I have jquery function which is used to enable or disabled other radio buttons if already checked now i want to add some function that use for check or uncheck same radio button?</p>
  
  <pre><code>(function ($) {
    $(document).ready(function () {
      $('input:radio').click(function(){
        var $inputs = $('input:radio')
  
        if($(this).is(':checked')){
          $inputs.not(this).prop('disabled',true);
        }else{
          $inputs.prop('disabled',false); 
        }
      })
  
    });
  })(jQuery);
  
  &lt;input type="radio" value="Test1" /&gt;Test1
  &lt;input type="radio" value="Test2" /&gt;Test2
  &lt;input type="radio" value="Test1" /&gt;Test1
  &lt;input type="radio" value="Test2" /&gt;Test2
  </code></pre>