var checkItems = $('[name="checkbox"]:checked');
var combines = [];
$.each(checkItems, function (i, arqs) {
combines.push($(this).attr('data-combine'));
});
var param = {
'cmbinedata': combines
}
$.ajax({
url: '@Url.Action("YourMethodName", "YourCOntrollerName")',
data: JSON.stringify(param),
type: "POST",
dataType: "json",
contentType: 'application/json; charset=utf-8',
success: function (result) {
//do something
},
error: function (err) {
tata.error('Error', "Error !!!");
location.reload();
}
});