ajax发送int数组到后端,如何将Ajax调用中的int数组从JS发送到控制器动作作为C#中的参数...-CSDN博客

网站介绍:文章浏览阅读201次。I have an object selectedDocTypes as [23,45,78]I need to pass it as a parameter to my controller action.But the value is not getting assigned to parameter, it is null.Here is code:JS:function addNewIs..._js返回一个int参数给c#控制器