Ajax的代码部分:
你的checkbox增加value属性记录住id,获取勾选的checkbox的值,下面是jquery的
var ids=$(':checkbox:checked').map(function(){return this.value}).get().join();
alert(ids)
http://blog.csdn.net/abubu123/article/details/51692000
http://blog.csdn.net/mybelief321/article/details/50282111