liwei6797

 

javascript控制validator

var rfvReason = document.getElementById('<%=rfvReason.ClientID %>');
ValidatorEnable(rfvReason, true);

function validateAll()
{   
    for(var i=0;i<Page_Validators.length;i++)
    {
        ValidatorValidate(Page_Validators[i]);
    }
}

posted on 2008-03-21 17:53  对倒二五条  阅读(215)  评论(0编辑  收藏  举报

导航