testArea °³Ã¼°¡ Æ÷ÇÔÇÏ´Â ¼öÆò ÁÙÀÇ ¼ö¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º Á¤¼ö°ª)
¼Ó¼º°ªÀº testArea °³Ã¼°¡ Æ÷ÇÔÇÏ´Â ¼öÆò ÁÙÀÇ ¼ö¸¦ ³ªÅ¸³»´Â Á¤¼ö°ªÀÌ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº 2ÀÌ´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
Âü°í
cols, rows

ÀÌ ¼Ó¼ºÀº (¿µ¹®) HTML 3.2¿Í (¿µ¹®) W3C DOM Level 1(Document Object Model)¿¡¼­ Á¤ÀǵǾú´Ù.




<TEXTAREA id=taObj>ÇÁ·¹ÀÓ »õâ¿­±â ¿¹Á¦</TEXTAREA><BR>
<SCRIPT>document.write('µðÆúÆ®´Â : taObj.cols='+taObj.cols+', taObj.rows='+taObj.rows)</SCRIPT><BR>
<BUTTON onclick="taObj.cols=20">cols=20</BUTTON>
<BUTTON onclick="taObj.cols=50">cols=50</BUTTON>
<BUTTON onclick="taObj.rows=2">rows=2</BUTTON>
<BUTTON onclick="taObj.rows=5">rows=5</BUTTON>