title: How to get dynamically generated check box values
body: <p>How to get the values of Dynamically generated CheckBoxes using jquery</p>
  
  <pre><code>for(i=startAt;i&lt;limit;i++)
  {
      var str = '&lt;tr&gt;'+
                '&lt;td width="48" align="center"&gt;&lt;input class="A" type="checkbox" name="checkbox" value='+ local[i]['_id'] +'&gt;&lt;/td&gt;'+
                '&lt;td width="270" &gt;' + local[i]['_id'] +'&lt;/td&gt;'+
                '&lt;td width="883" class="alignRt"&gt;'+local[i]['count']+'&lt;/td&gt;'+
                '&lt;/tr&gt;'
              $("#tableBody").append(str);
  }   
  </code></pre>
  
  <p>using this I am able to get the total checkboxes at runtime</p>
  
  <pre><code>$(document).on('click', '.A', function(){
  var n = $("input:checked.A").length;
  console.log(n)
  </code></pre>
  
  <p>But I want to get the values too.</p>
  
  <p>How can I do that ?</p>