|
|
|
|
Leader / 2002-03-04 / ¿ÀÈÄ 1:13:25 / 211.189.136.10
Á¶È¸¼ö : 139
|
[Áú¹®] ÀÚ¹Ù½ºÅ©¸³Æ® Áú¹®... -_-;; |
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<script language="JavaScript">
function CheckLen(){
var temp;
var num;
var len;
num = 0;
len = MyReply.R_Contents.value.length;
for(k=0;k<len;k++){
temp = MyReply.R_Contents.value.charAt(k);
//³»ÀåÇÔ¼ö escape¸¦ ÅëÇØ ±× ±ÛÀÚÀÇ ±æÀÌ°¡ 4º¸´Ù Å©¸é ÇѱÛÀ̹ǷΠ2¸¦ ´õÇÑ´Ù.
if(escape(temp).length > 4)
num += 2;
else
num++;
}
MyReply.num.value = num;
if (num > 40){
alert("ÀÔ·Â ¸Þ½ÃÁö´Â ÃÖ´ë 200byte ±îÁö »ç¿ë°¡´ÉÇÕ´Ï´Ù.")
}
return num;
}
</script>
<body bgcolor="#FFFFFF">
<form action="http://www.zetware.com" method="post" name="MyReply" onSubmit="return CheckForm_R(this)">
<p>
<textarea cols=60 name="R_Contents" rows=3 wrap=virtual onKeyDown="CheckLen();" onChange="CheckLen();" onBlur="CheckLen(); this.className='iStr'" class="iStr" onFocus="this.className='iFocus'"> |
|
|