title: Remove "checked" from radio when a checkbox is unchecked
body: <p>I have a checkbox (<code>#FBmngCH</code>) that reveals a set of radio buttons (<code>name=adManage</code>) when clicked.  When the checkbox is unclicked, the radio button that was previously selected still remains checked. I would like to have the checked status of the radio button removed once the checkbox is unchecked.</p>
  
  <p>This is being used in a form, so if the user changes their mind about selecting that service, I would like the details about that service to be wiped also (so the value of the selected radio will not end up in the PHP and ultimately the email).  I hope this makes sense. </p>
  
  <p>I have given this some considerable time and am not seeming to get this to work correctly.  The last set of if-statements is the part of the code that I wrote.  Not sure if I am missing something, selecting something wrong, or what. Any help with this would be highly appreciated.  Thanks!</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;li&gt;
      &lt;input type="checkbox" class="cbox" name="FBchecks[]" value="Facebook Ad MGMT" id="FBmngCH"&gt;
      &lt;label for="test"&gt;Facebook Ad Management&lt;/label&gt;
      &lt;ul id="FBmngList"&gt;
          &lt;li&gt;
              &lt;input type="radio" name="adManage" value="Ad Management 1" id="adMan1"&gt;
              &lt;label for="adMan1"&gt;Ad Fund - 1&lt;/label&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;input type="radio" name="adManage" value="Ad Management 2" id="adMan2"&gt;
              &lt;label for="adMan2"&gt;Ad Fund - 2&lt;/label&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;input type="radio" name="adManage" value="Ad Management 3" id="adMan3"&gt;
              &lt;label for="adMan3"&gt;Ad Fund - 3&lt;/label&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;input type="radio" name="adManage" value="Ad Management 4" id="adMan4"&gt;
              &lt;label for="adMan4"&gt;Ad Fund - 4&lt;/label&gt;
          &lt;/li&gt;
          &lt;div id="FBADerror" class="acctError"&gt;&lt;/div&gt;
      &lt;/ul&gt;
  &lt;/li&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>$FBmngCH = $("#FBmngCH");
  $FBmngList = $("#FBmngList");
  
  //hide FB Management List
  $FBmngList.hide();
  
  //on FB Management select
  $FBmngCH.click(function() {
      //toggle FB Management List
      $FBmngList.toggle();
  });
  
  $FBadValid = false;
  $FBADerror = $("#FBADerror");
  
  //if FB Ad Management is checked
  if ($FBmngCH.attr('checked')) function validateFB() {
     $("input[name=adManage]").each(function () {   //LoopingthroughradioButtons
      // "this" is the current element(radio) in the loop
        if ($(this).is(':checked')) {
              $FBadValid = true; //Radio Button is Checked);
        }
  
        if ($FBadValid.attr = true ) {
              $FBADerror.empty();
        }
     });
  };
  if ($FBmngCH.blur($FBadValid.attr = false)) {
      $FBADerror.append("&lt;li&gt; Please select a Facebook Ad plan. &lt;/li&gt;");
      //appends error to document
  }   
  if ($FBmngCH.blur($FBmngCH.not('checked'))) {
      $("input[name=adManage]").each(function () {
          if ($(this).is(':checked')) {
              $("input[name=adManage]").removeAttr('checked');
          }
      });
      //remove checks from radios
  };  
  $("input[name=adManage]").click(validateFB);
  </code></pre>