如下所示:
JSP
var vipFee= new Array;
//遍历选中的对象
$("#feeList :checkbox:checked").each(function(i){
vipFee.push({"enterpriseSeq":$(this).attr("enterpriseSeq"),"merchNo":$(this).val(),"serviceFee":$(this).attr("fqbFee")});
});
//进行异步
$.ajax({
type:"POST",
url: "addVipFeeList",
async:false,
dataType:
2021-12-20 11:54:37
33KB
c
IN
js
1