Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
javascript (クライアント側の検証) を使用して ASP.NET カスタム バリデータのエラー メッセージを変更するにはどうすればよいですか?
サーバー側の機能を使用して簡単に変更できることを知っています。
customvalidtor1..ErrorMessage = "Error"
これにより、CustomValidator のエラー メッセージが変更されます。クライアント側の機能を使用して同じことを行うにはどうすればよいですか? 頑張ったのに答えが出ない……。
私は試してみましたが、私にとってはうまくいきます.hereはこの問題の簡単な解決策です
$(source).text("* Not a NA Phone #");