阅读背景:

Jquery验证和调用远程功能Asp.net Razor View Engine

来源:互联网 

I am trying to translate a semi-old MVC2 site into a new and snazzy MVC4 site. So far so good, and I am really only stuck on the validation part of the site. I have a jquery function that is supposed to check for the uniqueness of a certain value, and allow the form to submit if it is indeed unique, Otherwise it won't submit. Also, it is only required if a certain variable is set... 'isFlagSet' if you will. If it is, then required is true... and then you would remotely check for uniqueness. The jquery validation function is belowI am trying to translate a semi-old MVC2 site i




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

分享到: