<script>
function getDeleteId(){
var str="";
var ids=$("input[name='delete_id[]']:checked");
var len=ids.length;
for(var i=0;i<len;i++){
str +=ids[i].value +",";
}
}
</script>
后台处理str:
$strs=$_REQUEST['str'];
$strs=substr($strs,0,strlen($strs)-1);
$arr=explode(","$strs);