Using $.get while iterating through check boxes in javascript

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

});

2021-10-03