开发者

Display only the individual error message using validation Engine

Iam using jQuery Validation engine in my Asp.net MVC application. I would like to show individual error messages.Now it showing both the individual error message and also summary at the bottom. So it would be really helpful to know how can I display only the individual error messages rather t开发者_如何学运维han both .


In my popup script where fancybox is loaded ie

               $("a.create-report").fancybox(
    {
        'autoDimensions':true,
        'centerOnScroll':true,
        'padding'        :'20px'
    });                      

    just added

$('#fancybox-close').click(function () {
        $(".formError").remove();
    });

    $('#fancybox-overlay').live("click",function () {
        $(".formError").remove();
    });

Then the validation summary get removed

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜