title: Get values from HTML Form arrays in Javascript
body: <p>In my forms i have some arrays being sent back like this</p>
  
  <pre><code>&lt;input class="checkbox-service" name="services['electricity']" type="checkbox"&gt; 
  
  &lt;input class="checkbox-service" name="services['water']" type="checkbox"&gt; 
  
  &lt;input class="checkbox-service" name="services['gas']" type="checkbox"&gt;
  </code></pre>
  
  <p>Now i need to be able to access all of these values in my jquery so i can somehow inject them into an input hidden, how can i do this in a way that doesn't make me have to duplicate code?</p>