title: Getting multiple values from checked checkboxes Javascript
body: <p>I'm wondering if there would be away to get the values of checked checkboxes and than use the values in the filter function in my DeleteObject function.</p>
  
  <pre><code>&lt;div style="text-align:center" class="list"&gt;
    &lt;small&gt;Walls:&lt;/small&gt;&lt;input id="deleteCheckbox" type="checkbox" value="Wall"&gt;
    &lt;small&gt;Doors:&lt;/small&gt;&lt;input id="deleteCheckbox" type="checkbox" value="Door"&gt;
    &lt;small&gt;Traps:&lt;/small&gt;&lt;input id="deleteCheckbox" type="checkbox" value="SlowTrap"&gt;&lt;br&gt;
    &lt;small&gt;Mines:&lt;/small&gt;&lt;input id="deleteCheckbox" type="checkbox" value="GoldMine"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Javascript:</p>
  
  <pre><code>function DeleteObject() {
    var b = Game.currentGame.ui.buildings;
    Object.keys(b).filter(function(e) {
  
      return CheckBoxValuesHere == b[e].type;
  
    }).forEach(function(i) {
      Game.currentGame.network.sendRpc({
        name: "DeleteObject",
        uid: b[i].uid
      })
    })
  }
  </code></pre>