자바스크립트로 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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 10256 |
JavaScript
실시간 금액 계산기 ver.2 (php에 적용 가능)
4
|
| 17572 | |
| 17567 | |
| 17796 | |
| 10255 | |
| 10254 |
Mobile
미래웹기술연구소 “HTML5 써야할 이유는…“
|
| 10253 | |
| 10252 |
Mobile
KT-한국MS, HTML5 웹앱 개발 활성화 맞손
|
| 10250 |
Mobile
KT, 앱개발 전문과정 ‘스마트스쿨’ 운영
1
|
| 17566 | |
| 10249 |
JavaScript
getHtmlInfo
|
| 17793 | |
| 17791 | |
| 10246 |
JavaScript
자바스크립트 코딩할때 실수하기 쉬운 한가지(배열)
2
|
| 17781 | |
| 17767 | |
| 17762 | |
| 17761 | |
| 17760 | |
| 17757 | |
| 17756 | |
| 17753 | |
| 10236 | |
| 17747 | |
| 10226 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기