回答編集履歴
1
chousei
answer
CHANGED
@@ -28,7 +28,8 @@
|
|
28
28
|
});
|
29
29
|
$('#mail_2').on('change',function(){
|
30
30
|
$(this).removeClass("inp_error");
|
31
|
+
/* 修正:if($('#mail').not('.inp_error')){ */
|
31
|
-
if($('#mail').
|
32
|
+
if($('#mail').is(':not(.inp_error)')){
|
32
33
|
if($(this).val()!==$('#mail').val()){
|
33
34
|
$("#mail_error").html("<i class='fa fa-exclamation-circle'></i> ※確認用メールアドレスが一致しません");
|
34
35
|
$(this).addClass("inp_error");
|