title: jquery update hidden field dependant on checkbox
body: <p>I am currenlty using this to see if each rows check box in a specified table is checked.</p>
  
  <pre><code>$("#table_pdf_view input[type=checkbox][checked]").each(
  
      function() {
  
  
  
      }
  
   );
  </code></pre>
  
  <p>If the row is checked I want it to use the checkboxes input id to update a seperate hidden table.</p>
  
  <pre><code>echo '&lt;td width="200px"&gt;&lt;input type=" checkbox" id="'.$row['client_id'].'" name="download"&gt;&lt;/td&gt;'.PHP_EOL;
  </code></pre>
  
  <p>The hidden table will contain one input field. If multiple rows are checked I would like to separate each id by a comma.</p>
  
  <p>​</p>