2022-09-14 15:39 이메일 . 가능한 함수 추가

This commit is contained in:
myname 2022-09-14 15:40:07 +09:00
parent 2027c05c85
commit 4041d7db4e

View File

@ -365,6 +365,10 @@ function onlyAlphabetNumber(thisObj) {
thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z]/gi, ""); thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z]/gi, "");
} }
function onlyAlphabetNumberEmail(thisObj) {
thisObj.value = thisObj.value.replace(/[^0-9a-zA-Z\.]/gi, "");
}
function getChkLen(name) { function getChkLen(name) {
return $("input:checkbox[name=" + name + "]:checked").length; return $("input:checkbox[name=" + name + "]:checked").length;
} }