Multiple Checbox Massage’s Delete In Codeigniter PHP

VIEW Multiple Checbox Massage’s Delete In Codeigniter <script language=”javascript”> function cbox() { var values = []; var checkbox = document.getElementsByName(‘chkbox[]’); var ln = 0; for(var i=0; i< checkbox.length; i++){ if(checkbox[i].checked) values.push(checkbox[i].value); ln++ } if(‘<?=$type?>’==’inbox’){ window.location.href =”<?php echo base_url() ?>[controller_name]/[action/function name]?var=” + values; } if(‘<?=$type?>’==’sent’){ window.location.href =”<?php echo base_url() ?>[controller_name]/[action/function name]?var=” + values; } if(‘<?=$type?>’==’delete’){ window.location.href […]