Push selected rows to Array

 Push checked rows to Array

selected rows


 var Dev = new Array();
 $("#tblDev tbody tr").each(function () {
       var chkdev = $(this).find('input[type="checkbox"]');
       if ($(chkdev).is(":checked")) {

        Dev.push({ ID: $(chkdev).parent('td').find("input[type='hidden']").val() });
       }
   });

Post a Comment

0 Comments