I need a javascript function, which can turn my asp.net validation off on the webpage. Do anyone have any idea about this.
+1
A:
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
ThiefMaster
2010-05-13 10:06:04