title: How do I get the value of checkboxes in jquery having common names.?
body: <p>I have the following series of checkboxes coming from the datatables in the form like below:</p>
  
  <pre><code>&lt;input id="list-chk_1"  type="checkbox" /&gt; 
  &lt;input id="list-chk_2"  type="checkbox" /&gt; 
  &lt;input id="list-chk_3"  type="checkbox" /&gt; 
  </code></pre>
  
  <p>How can I separate that id from list-chk. Do I have to include data-id parameter?</p>