How to Change Compare Validator Text

Discussion in 'ASP .Net' started by Peter, Mar 6, 2008.

  1. Peter

    Peter Guest

    ASP.NET 2.0

    How do I change CompareValidator ErrorMessage text with JavaScript or on the
    ClientSide at runtime?

    I have tried the following but it has no effect
    document.getElementById('MyCompareValidator').errormmessage = "New Error
    Message";


    Thanks


    Peter
     
    Peter, Mar 6, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robbo
    Replies:
    0
    Views:
    328
    Robbo
    Oct 30, 2003
  2. dotnet beginner

    Compare Validator

    dotnet beginner, Nov 12, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    461
    Mike Moore [MSFT]
    Nov 13, 2003
  3. A.M

    Compare Validator

    A.M, Jun 23, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    3,123
    scoutdickens
    Aug 23, 2007
  4. TN Bella
    Replies:
    0
    Views:
    486
    TN Bella
    Jul 2, 2004
  5. =?Utf-8?B?U2FuZHk=?=
    Replies:
    3
    Views:
    751
    fd123456
    Feb 12, 2005
Loading...

Share This Page