title: Show/hide div if checkbox selected
body: <p>I need a page with checkboxes and visible div if at minimum 1 is checked.</p>
  
  <p>Here I got page that if i check checkbox,  the div will show. It's okay and works correctly. </p>
  
  <p>When I check 3 checkboxes and uncheck 1, the div is missing, when i check some box again, the div will show - it isn't correct. </p>
  
  <p>How do I need modify the script to show all time the div, if at minimum 1 checkbox is checked, without this "jumping"?</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;CB Hide/Show&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
  &lt;!--
  function showMe (it, box) {
    var vis = (box.checked) ? "block" : "none";
    document.getElementById(it).style.display = vis;
  }
  //--&gt;
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;h3 align="center"&gt; This JavaScript shows how to hide divisions &lt;/h3&gt;
  
  &lt;div id="div1" style="display:none"&gt;
  &lt;table border=1 id="t1"&gt;
  &lt;tr&gt;
  &lt;td&gt;i am here!&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
  &lt;/div&gt;
  
  &lt;form&gt;
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  &lt;input type="checkbox" name="c1" onclick="showMe('div1', this)"&gt;Show Hide Checkbox
  
  
  
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>