자바스크립트로 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 540 |
JavaScript
GROUP BY 와 같이 사용되는 함수 [퍼옮]
|
| 539 |
MySQL
MySQL 문자열 관련함수[퍼옮]
|
| 537 |
MySQL
MySQL 날짜 관련 함수[퍼옮]
1
|
| 532 | |
| 531 | |
| 530 |
MySQL
MySql 기본명령어 모음[콘솔사용시]
|
| 17815 | |
| 529 |
JavaScript
유효 도메인 책크하기
|
| 528 | |
| 527 | |
| 526 | |
| 525 |
기타
파일 관련함수 [퍼옮]
|
| 523 | |
| 522 | |
| 521 |
PHP
미리 정의된 변수들 [퍼옮]
|
| 17814 |
HTML
디렉토리 관련함수 [퍼옮]
|
| 520 |
MySQL
문자열 함수 - 퍼 옮 -
|
| 519 |
JavaScript
배열함수
|
| 518 | |
| 516 |
JavaScript
mktime()
1
|
| 17813 |
HTML
setcookie
|
| 515 |
PHP
array_rand()
|
| 17810 |
HTML
eregi() vs ereg()
2
|
| 514 |
JavaScript
strrchr()
|
| 513 |
기타
key()
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기