I need a javascript function, which can turn my asp.net validation off on the we开发者_如何学Gobpage. Do anyone have any idea about this.
http://geekswithblogs.net/jonasb/archive/2006/08/11/87708.aspx
var myVal = document.getElementById('myValidatorClientID');
ValidatorEnable(myVal, false);
This article seems to be useful, too: http://aspdotnetfaq.com/Faq/How-to-control-ASP-NET-Validator-Controls-Client-Side-validation-from-JavaScript.aspx
精彩评论