1

I need a javascript function, which can turn my asp.net validation off on the webpage. Do anyone have any idea about this.

Vaibhav Jain
  • 33,887
  • 46
  • 110
  • 163

1 Answers1

2

Link

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

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
ThiefMaster
  • 310,957
  • 84
  • 592
  • 636