get checkbox value from array name code example
Example: how to get name array value checked in jquery
$("input:checkbox[name=type]:checked").each(function(){
yourArray.push($(this).val());
});
$("input:checkbox[name=type]:checked").each(function(){
yourArray.push($(this).val());
});