Submit array param with jQuery ajax/load

后端 未结 4 1778
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-13 10:05

public ActionResult DoSomething(string[] arr, bool someBool, int someInt) { }

trying to call the above method from jQuery:

var test = [];
te         


        
4条回答
  •  生来不讨喜
    2021-02-13 10:19

    can you see if this problem is similar to yours:

    Passing an nested arrays to asp.net mvc using jQuery's $.ajax

提交回复
热议问题