//获取被选中的复选框的id串
var arr= [];
var str_ids;
$(".ids:checked").each(function(){
arr.push($(this).val());
});
str_ids = arr.join(",");
//获取被选中的复选框的id串
var arr= [];
var str_ids;
$(".ids:checked").each(function(){
arr.push($(this).val());
});
str_ids = arr.join(",");