mvc3 +清除验证摘要问题 [英] mvc3 + clear validation summary problem

查看:86
本文介绍了mvc3 +清除验证摘要问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在明确的验证摘要脚本中,我们有代码

Hi All,

In the clear validation summary script we have code

{
var container = $('form').find('[data-valmsg-summary="true"]');     var list = container.find('ul');  
}



在上面的代码中,无法识别容器值,因此无法在验证摘要中清除.

预先感谢您的帮助.
G.Pavan Kumar



In the above code it could not identify container value to not clearin the validation summary.

Thanks in advance for your help.
G.Pavan Kumar

推荐答案

(' form').find(' [data-valmsg-summary ="true"]');; var list = container.find(' ul'); }
('form').find('[data-valmsg-summary="true"]'); var list = container.find('ul'); }



在上面的代码中,无法识别容器值,因此无法在验证摘要中清除.

预先感谢您的帮助.
G.Pavan Kumar



In the above code it could not identify container value to not clearin the validation summary.

Thanks in advance for your help.
G.Pavan Kumar


这篇关于mvc3 +清除验证摘要问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆