var checked = [] $("input[name='options[]']:checked").each(function () { checked.push(parseInt($(this).val())); });