In this article, you will learn what is Using $.get while iterating through check boxes in javascript
var id = []; //array to store ids from the checkboxes
var x = 0; t
checkboxes.each(function(){
if ($(this).hasClass('active')) {
id[x] = $(this).data('orderid');
x++; //increment
});
Using $.get while iterating through check boxes in javascript
minify code