[자바스크립트] 알파벳, 숫자 체크 스크립트
function isAlphaNum( input ) { if ( isAlphabet(input) ) { if ( isNumber(input) ) { return false; } else { return true; } } else { return true; } } function isAlphabet( input ) { var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; return containsChars( input, chars ); } function isNumber( input ) { var chars = "0123456789"; return containsChars(input,chars); }