자바스크립트로 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 319 |
기타
zip 압축 해제
|
| 318 |
JavaScript
삼바(samba)에서 내부만 들어오게 하기
|
| 317 | |
| 315 | |
| 314 |
JavaScript
quota 젠체 용량 확인
|
| 313 | |
| 312 | |
| 311 |
JavaScript
런레벨 편집
|
| 310 |
기타
리눅스에서 문자찾기
|
| 309 | |
| 308 |
JavaScript
삼바로 리눅스에서 윈도우로 공유하기
|
| 307 |
JavaScript
shadow 패스워드 잠금 해제 하기
|
| 306 | |
| 305 | |
| 304 |
JavaScript
vim에서 컬러는 나오게 하기
|
| 303 | |
| 301 | |
| 300 |
MySQL
my.cnf 파일은 어디에?
|
| 299 | |
| 298 |
MySQL
cron 설정
|
| 297 |
JavaScript
호스트네임 바꾸기
|
| 296 |
JavaScript
하드링크와 심볼릭링크?
|
| 294 |
기타
스틱키
|
| 293 |
JavaScript
날짜 바꾸기 date 명령을 이용
|
| 290 | |
| 289 |
기타
SSH
|
| 288 |
JavaScript
rsync 백업
|
| 286 |
JavaScript
저 사양 PC로 리눅스 라우터 만들기
1
|
| 285 |
Linux
Tripwire
|
| 284 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기