复选框选中判断事件
function comms(com){
if(com.checked==true){
alert("感谢选择"+com.value()+"。");
}
}
复选框表单ajax提交
function co(){
$.ajax({
type: "get",
data:$('#test').serialize(),// 你的表单id
url : "commsServlet",
success : function(test) {
}
})
}