자바스크립트로 textarea 의 rows, cols 속성을 제어하는 스크립트 입니다.
사용자 입력영역을 많이 사용하는 페이지에서 사용자 편의를 향상 시킬수 있습니다
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> Sample Script </title>
<meta http-equiv=content-type content=text/html; charset=euc-kr>
</head>
<body>
<form name="form1" method=post action="http://www.jasko.co.kr/result.html" onsubmit="">
<input type="button" name="button1" onclick="javascript:this.form.area.rows +=1" value=" R++ ">
<input type="button" name="button1" onclick="javascript:this.form.area.rows -=1" value=" R-- ">
<input type="button" name="button1" onclick="javascript:this.form.area.cols +=1" value=" C++ ">
<input type="button" name="button1" onclick="javascript:this.form.area.cols -=1" value=" C-- ">
<p>
<textarea name="area" rows="10" cols="50"></textarea>
</form>
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
사용자 입력영역을 많이 사용하는 페이지에서 사용자 편의를 향상 시킬수 있습니다
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> Sample Script </title>
<meta http-equiv=content-type content=text/html; charset=euc-kr>
</head>
<body>
<form name="form1" method=post action="http://www.jasko.co.kr/result.html" onsubmit="">
<input type="button" name="button1" onclick="javascript:this.form.area.rows +=1" value=" R++ ">
<input type="button" name="button1" onclick="javascript:this.form.area.rows -=1" value=" R-- ">
<input type="button" name="button1" onclick="javascript:this.form.area.cols +=1" value=" C++ ">
<input type="button" name="button1" onclick="javascript:this.form.area.cols -=1" value=" C-- ">
<p>
<textarea name="area" rows="10" cols="50"></textarea>
</form>
</body>
</html><div class='small'>[이 게시물은 관리자님에 의해 2011-10-31 16:57:14 JavaScript에서 이동 됨]</div>
게시글 목록
| 번호 | 제목 |
|---|---|
| 17822 | |
| 692 |
JavaScript
portmap
|
| 691 | |
| 690 | |
| 689 |
JavaScript
md5sum 사용방법
|
| 688 |
JavaScript
TAR 압축방법
|
| 687 | |
| 685 | |
| 684 |
기타
crontab 사용하기
|
| 683 |
JavaScript
umask 설정법
|
| 682 | |
| 681 |
기타
Find 명령어 활용
|
| 680 |
기타
zip 압축 해제
|
| 679 |
JavaScript
삼바(samba)에서 내부만 들어오게 하기
|
| 678 | |
| 676 | |
| 675 |
JavaScript
quota 젠체 용량 확인
|
| 674 | |
| 673 | |
| 672 |
JavaScript
런레벨 편집
|
| 671 |
기타
리눅스에서 문자찾기
|
| 670 | |
| 669 |
JavaScript
삼바로 리눅스에서 윈도우로 공유하기
|
| 668 |
JavaScript
shadow 패스워드 잠금 해제 하기
|
| 667 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기