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