阅读背景:

如何从单独的javascript文件访问模型属性? (MVC)

来源:互联网 

Right now I am using a model property in the javascript as one of the values in a json object that i pass to the controller. The problem is that the javascript will be seperated in a .js file and will not be able to access @Model. So the question is; how do i access model from a seperated .js file?Right now I am using a model property in the ja




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: