자바스크립트로 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>
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 4752 |
나태한개미
|
13년 전 | 1060 | |
| 4751 |
나태한개미
|
13년 전 | 1035 | |
| 4750 |
나태한개미
|
13년 전 | 2126 | |
| 4749 | 13년 전 | 1816 | ||
| 4748 | 13년 전 | 6536 | ||
| 4747 | 13년 전 | 1440 | ||
| 4746 |
Raincommunication
|
13년 전 | 776 | |
| 4745 |
|
13년 전 | 887 | |
| 4744 | 13년 전 | 677 | ||
| 4743 | 13년 전 | 1120 | ||
| 4742 | 13년 전 | 1436 | ||
| 4741 | 13년 전 | 818 | ||
| 4740 | 13년 전 | 652 | ||
| 4739 | 13년 전 | 1135 | ||
| 4738 | 13년 전 | 1604 | ||
| 4737 | 13년 전 | 954 | ||
| 4736 |
BackToHeaven
|
13년 전 | 2198 | |
| 4735 |
멀티트리플
|
13년 전 | 1099 | |
| 4734 | 13년 전 | 720 | ||
| 4733 | 13년 전 | 1300 | ||
| 4732 | 13년 전 | 1401 | ||
| 4731 | 13년 전 | 1470 | ||
| 4730 | 13년 전 | 1369 | ||
| 4729 | 13년 전 | 1003 | ||
| 4728 | 13년 전 | 1027 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기