From ce8714236953fb7e10d17f34e84d84322b8f5998 Mon Sep 17 00:00:00 2001 From: myname Date: Fri, 11 Oct 2024 10:03:17 +0900 Subject: [PATCH] =?UTF-8?q?2024-10-11=2010:00=20=EC=9D=B4=EB=A9=94?= =?UTF-8?q?=EC=9D=BC=20=ED=97=88=EC=9A=A9=20=EB=AC=B8=EC=9E=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20-?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/js/kccadr/kccadrCom.js | 8 ++++++-- .../webapp/visitEdu/usr/publish/script/visitEduCom.js | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/js/kccadr/kccadrCom.js b/src/main/webapp/js/kccadr/kccadrCom.js index a74fe4db..3fe4d698 100644 --- a/src/main/webapp/js/kccadr/kccadrCom.js +++ b/src/main/webapp/js/kccadr/kccadrCom.js @@ -349,8 +349,12 @@ function onlyNumber(thisObj) { thisObj.value = thisObj.value.replace(/[^0-9]/gi, ""); } -function onlyAlphabetNumber(thisObj) { - thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\._]/gi, ""); +function onlyAlphabetNumber(thisObj) { + thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\-._]/gi, ""); +} + +function onlyAlphabetNumber2(thisObj) { + thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\-._]/gi, ""); } function getChkLen(name) { diff --git a/src/main/webapp/visitEdu/usr/publish/script/visitEduCom.js b/src/main/webapp/visitEdu/usr/publish/script/visitEduCom.js index d6e10c7d..162ad4b4 100644 --- a/src/main/webapp/visitEdu/usr/publish/script/visitEduCom.js +++ b/src/main/webapp/visitEdu/usr/publish/script/visitEduCom.js @@ -371,8 +371,8 @@ function onlyNumber(thisObj) { thisObj.value = thisObj.value.replace(/[^0-9]/gi, ""); } -function onlyAlphabetNumber(thisObj) { - thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\._]/gi, ""); +function onlyAlphabetNumber(thisObj) { + thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\-._]/gi, ""); } function getChkLen(name) {