js传递集合到mvc

 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)

原文地址:https://www.cnblogs.com/xgyweb/p/6552384.html