 var action=$("#mark_issues option:selected").val();
            var checks = document.getElementsByName("issueid[]");
            var checkboxesChecked = [];
            for (var i=0; i<checks.length; i++) {
                if (checks[i].checked) {
                    // console.log(checks[i].value);
                    checkboxesChecked.push(checks[i].value);
                }
            }
            // console.log(checkboxesChecked);
            $.when($.ajax({
                 type: "GET",
           