Change error message for ASP.NET custom validator using javascript (client-side validation)?

asp.net, c#

Solution

i have tried and it works fine for me.here is a simple solution for this problem

$(source).text("* Not a NA Phone #");

Problem

How to change the error message for ASP.NET custom validator using javascript (client-side validation)? I know that we can easily change it using server side function i.e ``` customvalidtor1..ErrorMessage = "Error" ``` This will change error message for CustomValidator. How can we do same using client-side function? I have tried hard but did not find any answer.....

Original source

Related problems