title: JQuery - disable duplicate checkboxes when checked
body: <p>I have a list of checkboxes grouped into sections.
  Some of these checkboxes can appear in more than one section.
  What I would like to do is stop the user from selecting the same checkbox in more than one section by disabling all checkboxes which are the same when the user selects a checkbox.
  However the checkbox they selected must not be disabled so they can uncheck it (this must also re-enable all the disabled checkboxes so they are free to select it in another section if they wish)</p>
  
  <p>Does anyone know the best way of doing this in JQuery?</p>
  
  <p>example code:</p>
  
  <pre><code>&lt;h3&gt;Section 1&lt;/h3&gt;
  &lt;ul&gt;
      &lt;li&gt;
          &lt;label for="section1_method_1"&gt;
              &lt;input name="method_1" value="43" id="section1_method_1" type="checkbox"&gt;Option 1
          &lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;label for="section1_method_2"&gt;
              &lt;input name="method_2" value="2" id="section1_method_2" type="checkbox"&gt;Option 2
          &lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;label for="section1_method_5"&gt;
              &lt;input name="method_5" value="6" id="section1_method_5" type="checkbox"&gt;Option 5
          &lt;/label&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;h3&gt;Section 2&lt;/h3&gt;
  &lt;ul&gt;
      &lt;li&gt;
          &lt;label for="section2_method_0"&gt;
              &lt;input name="method_0" value="5" id="section2_method_0" type="checkbox"&gt;Option 0
          &lt;/label&gt;
      &lt;/li&gt;
      &lt;li&gt;
          &lt;label for="section2_method_1"&gt;
              &lt;input name="method_1" value="143" id="section2_method_1" type="checkbox"&gt;Option 1
          &lt;/label&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>as you can see option 1 appears in both section 1 and 2.  They each have different id's but the name is the same.</p>
  
  <p>I would prefer to do it via checkboxes as the user might not realise that they has selected the same option in a different section whereas if the checkbox was disabled they would know that they had already selected it and if they wanted to change their choice they would have to physically uncheck it.</p>