글자수 체크하기
페이지 정보
조회
20,359
본문
<b>글자: </b><input type='text' name='t1' onKeyUp='char_count(this.form)'>
<br><b>글자수: </b><input type='text' name='t2' value='0' readonly="readonly">
</form>
<script language='javascript'>
function char_count(form)
{
form.t2.value=form.t1.value.length;
}
</script>
관련자료
등록된 댓글이 없습니다.