For example, if the checkbox is checked, then I need to get that value and passed to controller 

```
$(document).ready(function () {$('input:submit').click(function () {
    var allVals = [];
    debugger;
    $('input[type="checkbox"]:checked').each(function () {
        allVals.push($(this).val());
    });
    $.ajax({
        type: 'post',
        dataType: 'json',
        cache: false,
        url: '/Home/ApplyWithdraw',
        traditional: true,
        contentType: "application/json; charset=utf-8",
        data: { 'ids': 'allVals' },
        success: function (data) {
            return data;
        },
   });
});

```

mvc action result in homecontroller page

```
public ActionResult ApplyWithdraw(int[] ids)
{
}

```