var yourJavaScriptArray = @Html.Raw(Json.Encode(Model.YourDotNetArray));
LINK - http://stackoverflow.com/questions/3850958/pass-array-from-mvc-to-javascript
版权声明:本文为博主原创文章,未经博主允许不得转载。
时间: 2024-12-28 01:47:37
var yourJavaScriptArray = @Html.Raw(Json.Encode(Model.YourDotNetArray));
LINK - http://stackoverflow.com/questions/3850958/pass-array-from-mvc-to-javascript
版权声明:本文为博主原创文章,未经博主允许不得转载。