putting values of all checkboxes into array jquery 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());
});