With this code you can get the values of all checked checkboxes and put it into a variable as an array or a comma separated list.

Get all values from checked checkboxes

var checkedValues = $('input:checkbox:checked').map(function() {
    return this.value;
}).get();


Get all values as comma separated values from checked checkboxes

var checkedValues = $('input:checkbox:checked').map(function() {
    return this.value;
}).get().join(); // Note the .join() at the end.  This makes it a comma separated string instead of an array

 

Get certain checkbox values instead of all

Use a custom class in your checkboxes to separate them from other checkboxes on the page.  In this case I am using class="chkDynamicList"

var checkedValues = $('.chkDynamicList:checked').map(function() {
    return this.value;
}).get().join(); // Note the .join() at the end.  This makes it a comma separated string instead of an array