MVC Send list through AJAX

前端 未结 5 582
情话喂你
情话喂你 2020-12-19 16:28

Okay, I\'ve seen tons of questions posted regarding this question, but none of the answers has actually worked for me, here\'s my AJAX:

$.ajax({
        url:         


        
5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-19 17:16

    javascript or ajax call never type cast the object. . .you need to set type of the controller side parameter either string or List else you can also set the Object type. . If you modified codein that way.. .Your code definitely work !!!

提交回复
热议问题