자바스크립트로 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 666 | |
| 665 |
JavaScript
vim에서 컬러는 나오게 하기
|
| 664 | |
| 662 | |
| 661 |
MySQL
my.cnf 파일은 어디에?
|
| 660 | |
| 659 |
MySQL
cron 설정
|
| 658 |
JavaScript
호스트네임 바꾸기
|
| 657 |
JavaScript
하드링크와 심볼릭링크?
|
| 17821 |
HTML
콘솔의 화면보호기능을 끄려면?
|
| 656 |
기타
스틱키
|
| 655 |
JavaScript
날짜 바꾸기 date 명령을 이용
|
| 17820 |
HTML
스왑 사용 안하기
|
| 653 | |
| 652 |
기타
SSH
|
| 651 |
JavaScript
rsync 백업
|
| 649 |
JavaScript
저 사양 PC로 리눅스 라우터 만들기
1
|
| 648 |
Linux
Tripwire
|
| 647 | |
| 646 | |
| 645 | |
| 644 |
JavaScript
링크 시킨 파일 찾기
|
| 643 |
JavaScript
리눅스 하드웨어 정보 보기
|
| 642 | |
| 641 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기