阅读背景:

如何将JavaScript / jQuery与Razor结合使用

来源:互联网 

I've created an input and a button in one of my views in an ASP.NET MVC4 application, and I want the button to pass the value of the input field as a parameter to one of my controllers. The problem I'm encountering is that I only know how to declare/get said value using jQuery, but I can't seem to figure out how to use this as a valid parameter to pass. My code is as follows:I've created an input and a button in one of my




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

分享到: