How to get the values of Dynamically generated CheckBoxes using jquery

```
for(i=startAt;i<limit;i++)
{
    var str = '<tr>'+
              '<td width="48" align="center"><input class="A" type="checkbox" name="checkbox" value='+ local[i]['_id'] +'></td>'+
              '<td width="270" >' + local[i]['_id'] +'</td>'+
              '<td width="883" class="alignRt">'+local[i]['count']+'</td>'+
              '</tr>'
            $("#tableBody").append(str);
}   

```

using this I am able to get the total checkboxes at runtime

```
$(document).on('click', '.A', function(){
var n = $("input:checked.A").length;
console.log(n)

```

But I want to get the values too.

How can I do that ?