textarea의 크기를 입력된 내용에 맞게 늘리는 스크립트
작성일 06-09-20 17:36
페이지 정보
작성자서방님 조회 499회 댓글 0건본문
function resizeTextArea(msg)
{
line = msg.rows;
new_line = msg.value.split( "n" ).length + 1;
if( new_line < line ) new_line = line;
msg.rows = new_line;
}
{
line = msg.rows;
new_line = msg.value.split( "n" ).length + 1;
if( new_line < line ) new_line = line;
msg.rows = new_line;
}
댓글목록
등록된 댓글이 없습니다.
