阅读背景:

打开/关闭Jquery验证以获得一个输入

来源:互联网 

I am using the same form to add and edit values. During addition of an item, I want it to force a name check against the server, which it does. However, during edit mode I want it to not validate, since the name may not change. I tried to set the ignore property in the validator to the "ignore" class, based on the documentation, link below. I use that same class name in the name input, but that does not work. It kept validating against the server. Any thoughts?I am using the same form to add and edit values




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

分享到: