javascriptまたはテンプレートが壊れています。エラーコードをjavascriptで変更する
これはエラーメッセージを変更するための私のジャバスクリプトです。テンプレートにアクセスできないため、テンプレートを変更できません。
<!-- CHANGE ERROR MESSAGE -->
<script language="JavaScript">
$(function() {
$.ajaxSetup({complete: function() {
$(".errorExplanation ul li:contains('Password and email do not match')").ReplaceWith('Password does not match');}})
});
</script>
これが翻訳されることを拒否し、ウェブサイトの一部です:
私が間違って何をしているのですか?
は小文字である必要があり、これを試してみてください。 –
動作しません。私は小文字や大文字とは関係ないと思います。私はエラーコード 'パスワードと電子メール..'は私が(まだ)理解していない別のセクションの一部だと思います。 –