title: Get a list of checked checkboxes in a div using jQuery
body: <p>I want to get a list of names of checkboxes that are selected in a div with certain id. How would I do that using jQuery?</p>
  
  <p>E.g., for this div I want to get array ["c_n_0"; "c_n_3"] or a string "c_n_0;c_n_3"</p>
  
  <pre><code>&lt;div id="checkboxes"&gt;
      &lt;input id="chkbx_0" type="checkbox" name="c_n_0" checked="checked" /&gt;Option 1
      &lt;input id="chkbx_1" type="checkbox" name="c_n_1" /&gt;Option 2
      &lt;input id="chkbx_2" type="checkbox" name="c_n_2" /&gt;Option 3
      &lt;input id="chkbx_3" type="checkbox" name="c_n_3" checked="checked" /&gt;Option 4
  &lt;/div&gt;
  </code></pre>