|
|
¢Ã ÇöÀçÀ§Ä¡ : ÀÚ·á½Ç > ¼ÒÇÁÆ®¿þ¾îÈ°¿ë (°ü¸®ÀÚ¸¸ ¾²±â°¡´É) |
¡áÀüüº¸±â
¢ºÅ×Å©ÆÁ
¢º±ÛÇÈ
¢ºÆíÁý
¢º¸ÖƼ
¢º¹é½Å
¢º¾ÐÃà
¢º»ç¹«
¢ºÅë½Å
¢ºOS
¢ºÇϵå
¢º±³À°
¢ºÀ¯Æ¿
¢º¼Ò½º
¢º±âŸ
No | 105 |
µî·ÏÀÏ | 2002/4/19(±Ý) |
|
[Å×Å©³ëÆ®] ȸ¿øµî·Ï½Ã ¾ÆÀ̵𿡠Ư¼ö¹®ÀÚÂ÷´Ü(½ºÅ©¸³Æ®)
ȨÆäÀÌÁö:http://technotepro.com ¹Ì¸®º¸±â : http://jinpo.net/member/regist.htm(LOAD:4)
|
Á¦¸ñ : ȸ¿øµî·Ï½Ã ¾ÆÀ̵𿡠Ư¼ö¹®ÀÚÂ÷´Ü(½ºÅ©¸³Æ®)
ȸ¿øµî·ÏÆûÀ» htmlÆÄÀÏ·Î ÀÛ¼ºÇÏ¿© ¾Æ·¡ÀÇ ½ºÅ©¸³Æ®¸¦ <head>~~</head>¿¡ »ðÀÔÇϼ¼¿ä. ±×¸®°í ¾ÆÀ̵ðÀÇ <input type=text name=input_id>¿¡¸Âµµ·Ï ¾Æ·¡ÀÇ ¹®ÀÚ¿À» ã¾Æ name°ªÀ» º¯°æÇϼ¼¿ä.(input_id)ºÎºÐ...
if (!check_al_num(input_id.value))
¹Ì¸®º¸±â´Â À§ÀÇ ¸µÅ©¸¦ Âü°íÇϼ¼¿ä..
//À̾Ʒ¡ºÎÅͺ¹»ç
<script language="javascript"> <!-- function check_al_num(str) { var x = str; for(i=0 ; i< x.length; i++) { if(!IsAlpha(x.charAt(i))) return false; } return true; }
function IsAlpha(c) { if (c >= "¤¡" && c <= "¤¡") return 0; if (c >= "¤¤" && c <= "¤¤") return 0; if (c >= "¤§" && c <= "¤§") return 0; if (c >= "¤©" && c <= "¤©") return 0; if (c >= "¤±" && c <= "¤±") return 0; if (c >= "¤²" && c <= "¤²") return 0; if (c >= "¤µ" && c <= "¤µ") return 0; if (c >= "¤·" && c <= "¤·") return 0; if (c >= "¤¸" && c <= "¤¸") return 0; if (c >= "¤º" && c <= "¤º") return 0; if (c >= "¤»" && c <= "¤»") return 0; if (c >= "¤¼" && c <= "¤¼") return 0; if (c >= "¤½" && c <= "¤½") return 0; if (c >= "¤¾" && c <= "¤¾") return 0; if (c >= "¤¿" && c <= "¤¿") return 0; if (c >= "¤Ä" && c <= "¤Ä") return 0; if (c >= "¤Ó" && c <= "¤Ó") return 0; if (c >= "¤Ç" && c <= "¤Ç") return 0; if (c >= "¤Ì" && c <= "¤Ì") return 0; if (c >= "¤À" && c <= "¤À") return 0; if (c >= "¤Ë" && c <= "¤Ë") return 0; if (c >= "¤Å" && c <= "¤Å") return 0; if (c >= "¤Á" && c <= "¤Á") return 0; if (c >= "¤Ä" && c <= "¤Ä") return 0; if (c >= "¤Â" && c <= "¤Â") return 0; if (c >= "¤Æ" && c <= "¤Æ") return 0; if (c >= "¡¤" && c <= "¡¤") return 0; if (c >= "£®" && c <= "£®") return 0; if (c >= "¢¥" && c <= "¢¥") return 0; if (c >= "£§" && c <= "£§") return 0; if (c >= "£¬" && c <= "£¬") return 0; if (c >= "£º" && c <= "£º") return 0; if (c >= "£»" && c <= "£»") return 0; if (c >= "£¿" && c <= "£¿") return 0; if (c >= "£¡" && c <= "£¡") return 0; if (c >= "£à" && c <= "£à") return 0; if (c >= "¡¢" && c <= "¡¢") return 0; if (c >= "¡£" && c <= "¡£") return 0; if (c >= "¡¤" && c <= "¡¤") return 0; if (c >= "¡¡" && c <= "¡¡") return 0; if (c >= "¡¨" && c <= "¡¨") return 0; if (c >= "¡¥" && c <= "¡¥") return 0; if (c >= "¡¦" && c <= "¡¦") return 0; if (c >= "¡§" && c <= "¡§") return 0; if (c >= "¡ª" && c <= "¡ª") return 0; if (c >= "¢©" && c <= "¢©") return 0; if (c >= "¢ª" && c <= "¢ª") return 0; if (c >= "¢«" && c <= "¢«") return 0; if (c >= "¢¬" && c <= "¢¬") return 0; if (c >= "¢" && c <= "¢") return 0; if (c >= "¡" && c <= "¡") return 0; if (c >= "£¯" && c <= "£¯") return 0; if (c >= "¢¦" && c <= "¢¦") return 0; if (c >= "¡¬" && c <= "¡¬") return 0; if (c >= "¢®" && c <= "¢®") return 0; if (c >= "¢°" && c <= "¢°") return 0; if (c >= "¤ý" && c <= "¤ý") return 0; if (c >= "¦£" && c <= "¦£") return 0; if (c >= "¦¤" && c <= "¦¤") return 0; if (c >= "ôÈ" && c <= "ôÈ") return 0; if (c >= "¡«" && c <= "¡«") return 0; if (c >= "@" && c <= "@") return 0; if (c >= "$" && c <= "$") return 0; if (c >= "%" && c <= "%") return 0; if (c >= "#" && c <= "#") return 0; if (c >= "`" && c <= "`") return 0; if (c >= "~" && c <= "~") return 0; if (c >= "*" && c <= "*") return 0; if (c >= "(" && c <= "(") return 0; if (c >= ")" && c <= ")") return 0; if (c >= "-" && c <= "-") return 0; if (c >= "'" && c <= "'") return 0; if (c >= "," && c <= ",") return 0; if (c >= "." && c <= ".") return 0; if (c >= "!" && c <= "!" ) return 0; if (c >= "^" && c <= "^" ) return 0; else return 1;
}
function check_id() { with(document.MemberReg) { if (!check_al_num(input_id.value)) //°Ë»ç¹ÞÀ» Æû°ªÁöÁ¤(input_id) { alert("¾ÆÀ̵𿡠Ư¼ö ¹®ÀÚ³ª \n\n±×¸®°í... ¿Ï¼ºµÇÁö ¾ÊÀº ÇѱÛÁ¶ÇÕÀÌ ÀÖ´Â°Í °°½À´Ï´Ù.\n\n´Ù½Ã Çѹø È®ÀÎ Çϼ¼¿ä.!"); return false; } } } //--> </script>
|
|
|
|
|