Showing posts with label validators. Show all posts
Showing posts with label validators. Show all posts

Wednesday, June 24, 2009

Disabling an ASP.Net Validators through Javascript

If you want disable the asp.net validator through javascript then use below code.

function doSomething()
{
var myVal = document.getElementById('myValidatorClientID');
ValidatorEnable(myVal, false);
}