var applicationList = {};
$(".del-add a").each(function (index) {
var picName = $(this).text();
var imgId = $(this).parents(".del-add").attr("id");
//已有的数据不用提交了
applicationList["applicationList[" + index + "].AppleAnnex"] = picName;
applicationList["applicationList[" + index + "].Id"] = imgId;
})
后台接收方法
public ActionResult ApplicationTemporary(Food_IngreDients_Apply model, List<Food_Apple_Annex> ApplicationList, List<Food_ApplyLibrary> LibrayList, int ApplyFlag)