6

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.....

1 Answer 1

5

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

$(source).text("* Not a NA Phone #");
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.