cara mendapatkan nilai array nama diperiksa di jQuery
$("input:checkbox[name=type]:checked").each(function(){
yourArray.push($(this).val());
});
Thoughtless Termite
$("input:checkbox[name=type]:checked").each(function(){
yourArray.push($(this).val());
});
$('.theClass:checkbox:checked')