|
var aid=<?php echo $data['activity_id'];?>;
var mtype=$('#mtype').val();
var mstate=$('#mstate').val();
if(arr.length>0)
{
$.ajax({
type:"POST",
url:"/activityact/allowAllState/",
data:{ids:arr,acid:aid,type:mtype,state:mstate},
success:function(msg){
if(msg=='true'){
window.location.reload();
}
}
});
}
后台怎么接收ids的数据为什么我删除时只是执行了最后一条数据呢
$ids=$this->input->post('ids');
|
|