阅读背景:

当更新脚本中的值时,如何强制MVC客户端验证?

来源:互联网 

If I have a required field on my form within my MVC3 page, and try submitting the form, the validation fires and the input control is given a light-red background color (fill) and it also shows a validation message. If I type in the input control, it will detect the value and remove both the coloring and validation method. This is how it should work.If I have a required field on my form within my




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

分享到: