title: jQuery. How to uncheck all checkboxes except one (which was checked)
body: <p>I have html items, 4 example:</p>
  
  <pre><code>&lt;div&gt;
      &lt;div&gt;&lt;input type="checkbox" class="foo"&gt; Checkbox&lt;/div&gt;
      &lt;div&gt;&lt;input type="checkbox" class="foo"&gt; Checkbox&lt;/div&gt;
      &lt;div&gt;&lt;input type="checkbox" class="foo"&gt; Checkbox&lt;/div&gt;
      &lt;div&gt;&lt;input type="checkbox" class="foo"&gt; Checkbox&lt;/div&gt;
      &lt;div&gt;&lt;input type="checkbox" class="foo"&gt; Checkbox&lt;/div&gt;
      &lt;div&gt;&lt;input type="checkbox" class="foo"&gt; Checkbox&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And now, I want next: If I click on any checkbox - the checkbox should be checked and other checkboxes should be unchecked. How can I do it?</p>