자바스크립트로 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에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 5952 | 9년 전 | 307 | ||
| 5951 | 9년 전 | 226 | ||
| 5950 | 9년 전 | 290 | ||
| 5949 | 9년 전 | 447 | ||
| 5948 | 9년 전 | 189 | ||
| 5947 | 9년 전 | 206 | ||
| 5946 | 9년 전 | 198 | ||
| 5945 | 9년 전 | 350 | ||
| 5944 | 9년 전 | 338 | ||
| 5943 | 9년 전 | 422 | ||
| 5942 | 9년 전 | 370 | ||
| 5941 | 9년 전 | 550 | ||
| 5940 | 9년 전 | 434 | ||
| 5939 | 9년 전 | 378 | ||
| 5938 |
씨에이치넷
|
9년 전 | 1294 | |
| 5937 | 9년 전 | 405 | ||
| 5936 | 9년 전 | 367 | ||
| 5935 | 9년 전 | 361 | ||
| 5934 | 9년 전 | 295 | ||
| 5933 | 9년 전 | 712 | ||
| 5932 | 9년 전 | 283 | ||
| 5931 | 9년 전 | 302 | ||
| 5930 | 9년 전 | 487 | ||
| 5929 | 9년 전 | 291 | ||
| 5928 | 9년 전 | 354 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기