[

버튼으로 텍스트영역의 크기를 제어합니다

· 21년 전 · 3158
자바스크립트로 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>
|
댓글을 작성하시려면 로그인이 필요합니다. 로그인

개발자팁

개발과 관련된 유용한 정보를 공유하세요. 질문은 QA에서 해주시기 바랍니다.

+
분류 제목 글쓴이 날짜 조회
JavaScript 21년 전 조회 3,917
PHP 21년 전 조회 5,874
기타 21년 전 조회 4,491
기타 21년 전 조회 4,146
기타 21년 전 조회 3,833
기타 21년 전 조회 3,947
JavaScript 21년 전 조회 5,014
기타 21년 전 조회 3,706
기타 21년 전 조회 3,267
기타 21년 전 조회 3,480
기타 21년 전 조회 3,966
JavaScript 21년 전 조회 3,352
기타 21년 전 조회 4,430
기타 21년 전 조회 5,636
기타 21년 전 조회 3,159
JavaScript 21년 전 조회 3,825
JavaScript 21년 전 조회 5,359
MySQL 21년 전 조회 4,495
MySQL 21년 전 조회 5,136
MySQL 21년 전 조회 4,716
MySQL 21년 전 조회 7,175
MySQL 21년 전 조회 4,843
MySQL 21년 전 조회 1.2만
MySQL 21년 전 조회 4,297
MySQL 21년 전 조회 4,819
MySQL 21년 전 조회 1.6만
MySQL 21년 전 조회 6,185
MySQL 21년 전 조회 5,357
MySQL 21년 전 조회 7,968
JavaScript 21년 전 조회 5,060
🐛 버그신고