Det fungerar, men givetvis bara i Explorer
Här kommer ett exempel där du modifierar antal rows:
<html>
<head>
<script language="JavaScript">
function rowsOne()
{
var x=document.forms.myForm
x[0].rows="1"
}
function rowsTwenty()
{
var x=document.forms.myForm
x[0].rows="20"
}
</script>
</head>
<body>
<form name="myForm" action="#">
<textarea name="myTextarea" rows="1" cols="20"></textarea>
<br />
<input type="button" onclick="rowsOne()" value="Rows=1 ">
<input type="button" onclick="rowsTwenty()" value="Rows=20">
</form>
</body>
</html>
------------------
/Sandman