循环赋值给数组

var arrRow = new Array();
for(var i=0;i<checkedArr.length;i++){
    arrRow[i] = checkedArr[i].FUN_ID;
}

ajax传json数组到后端

 $.ajax({  
	url:  "role.do?method=funcRoleAdd",  
	type : "post",
	async : false,
	cache : false,
	data: {'roleId': selectRow[0].roleId,
	        'checkArr':JSON.stringify(arrRow)},
	dataType: "json", 
	contentType:"application/x-www-form-urlencoded; charset=UTF-8",
		success:function(json){
	},  
	error:function(e) {  
	}  
});