자바스크립트로 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 1450 | |
| 1446 | |
| 1408 | |
| 1406 |
Flash
플래시강좌 진행중입니다.
1
|
| 1389 | |
| 1370 | |
| 1366 |
JavaScript
접속자 아이피 출력(1원짜리 팁)
3
|
| 1329 | |
| 1315 | |
| 1267 | |
| 1254 | |
| 1208 | |
| 1167 | |
| 1103 | |
| 1052 | |
| 1051 | |
| 1050 |
JavaScript
리눅스 설치 후 해야 할 일
|
| 1047 |
JavaScript
[PHP동영상강좌] 프로그래밍 본격 시작 - 01
|
| 1040 | |
| 1039 | |
| 1037 | |
| 1031 |
JavaScript
시원한 테이블 메뉴 스크립트
5
|
| 1020 |
Flash
IE 패치에 따른 플래시 이용방식 변경
7
|
| 1019 |
정규표현식
[브라우저]브라우저명을 정확히 알아내기
|
| 1017 |
JavaScript
[위치관련]팝업창을 브라우저 해상도 구분없이 항상 중앙에 띄우기
1
|
| 1016 | |
| 1012 |
Flash
플래시 프리로딩 소스
3
|
| 994 | |
| 993 |
JavaScript
[FLV동영상] FLV 반복재생하기
|
| 986 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기