Showing
2 changed files
with
1 additions
and
52 deletions
... | @@ -49,54 +49,3 @@ function checkPasswordMatch() { | ... | @@ -49,54 +49,3 @@ function checkPasswordMatch() { |
49 | else | 49 | else |
50 | $("#message").html("일치."); | 50 | $("#message").html("일치."); |
51 | } | 51 | } |
52 | - | ||
53 | - | ||
54 | -$(document).ready(function () { | ||
55 | -$('#eValidation').keyup(function () { | ||
56 | - var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | ||
57 | - | ||
58 | - if (re.test($(this).val())) { | ||
59 | - | ||
60 | - $(this).css("borderColor", "green"); | ||
61 | - | ||
62 | - } else { | ||
63 | - | ||
64 | - $(this).css("borderColor", "red"); | ||
65 | - } | ||
66 | -}); | ||
67 | -}); | ||
68 | - | ||
69 | -$(document).ready(function () { | ||
70 | -$('#fValidation, #sValidation').on('keyup', function () { | ||
71 | - if ($('#fValidation').val() == $('#sValidation').val()) { | ||
72 | - $('#message').html('일치').css('color', 'green'); | ||
73 | - } else | ||
74 | - $('#message').html('비밀번호가 일치 하지않습니다.').css('color', 'red'); | ||
75 | -}); | ||
76 | -}); | ||
77 | - | ||
78 | -/* | ||
79 | -$(document).ready(function () { | ||
80 | -$('#eValidation').keyup(function () { | ||
81 | - var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; | ||
82 | - | ||
83 | - if (re.test($(this).val())) { | ||
84 | - | ||
85 | - $(this).css("borderColor", "green"); | ||
86 | - | ||
87 | - } else { | ||
88 | - | ||
89 | - $(this).css("borderColor", "red"); | ||
90 | - } | ||
91 | -}); | ||
92 | -}); | ||
93 | - | ||
94 | - $(document).ready(function () { | ||
95 | -$('#fpassword, #spassword').on('keyup', function () { | ||
96 | - if ($('#fpassword').val() == $('#spassword').val()) { | ||
97 | - $('#message').html('일치').css('color', 'green'); | ||
98 | - } else | ||
99 | - $('#message').html('비밀번호가 일치하지 않습니다').css('color', 'red'); | ||
100 | -}); | ||
101 | -}); | ||
102 | -*/ | ... | ... |
... | @@ -23,7 +23,7 @@ $('#eValidation').keyup(function () { | ... | @@ -23,7 +23,7 @@ $('#eValidation').keyup(function () { |
23 | } else { | 23 | } else { |
24 | 24 | ||
25 | $(this).css("borderColor", "red"); | 25 | $(this).css("borderColor", "red"); |
26 | - ref={eValidation.email} | 26 | + |
27 | } | 27 | } |
28 | }); | 28 | }); |
29 | }); | 29 | }); | ... | ... |
-
Please register or login to post a comment