title: How to check multiple checkboxes with JavaScript?
body: <p>I have multiple checkboxes</p>
  
  <pre><code>&lt;div class="data"&gt;    
      &lt;span&gt;
      &lt;input name="employee" type="checkbox" value="Alex"/&gt;
      &lt;label for="employee"&gt;Alex&lt;/label&gt;
      &lt;/span&gt; 
  
      &lt;span&gt;
      &lt;input name="employee" type="checkbox" value="Frank"/&gt;
      &lt;label for="employee"&gt;Frank&lt;/label&gt;
      &lt;/span&gt;    
  
      &lt;span&gt;
      &lt;input name="employee" type="checkbox" value="Mark"/&gt;
      &lt;label for="employee"&gt;Mark&lt;/label&gt;
      &lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How to find all checked checkboxes and create json or array with result of checking?</p>