title: add check boxes dynamically, js jquery
body: <p>How do I create check boxes in for each row created dynamically. the code below is how I am creating a table. help will be greatly appreciated. Info: I am getting values of org from DB and publishing those values to a table.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var table = document.getElementById('orgtable');
  
  for (var i = 0; i &lt; (orgvalues.length); i = i + 1) {
  
    var row = table.insertRow(-1);
  
    var cell1 = row.insertCell(-1);
    var cell2 = row.insertCell(-1);
  
  
  
    cell1.innerHTML = '&lt;span style="font-size:20px;"&gt;' +
      name + '&lt;/span&gt;';
  
    cell1.innerHTML = '&lt;span style="font-size:20px;"&gt;' +
      phone + '&lt;/span&gt;';
  
  
  }</code></pre>
  </div>
  </div>
  </p>