javascript 한글만 입력가능 function onlyKorean(inputId) { var str=document.getElementById(inputId).value; for (i = 0; i 0x3130 && str.charCodeAt(i) = 0xAC00 && str.charCodeAt(i) coding/short code 2019.06.04