Matt Fiddles

Life's so vast, there's just so much to do...

User Tools

Site Tools


"Yes, it's the right planet, all right, " he said again.
"Right planet, wrong universe. "

Where will you go today?

Han Solo: "Oh! I thought they smelled bad on the **outside**!"

HTML notes

Changing textarea Box Size On-The-Fly

<form name="FormName">
Number of text rows to display: 
<input type="text" name="RowsInputName" size="6" onkeyup="changeHeight()" /><br />
<textarea name="TextareaName" cols="40" rows="5"></textarea>
<script type="text/javascript">
function changeHeight() {
document.FormName.TextareaName.rows = document.FormName.RowsInputName.value;
computers/websites/html.txt · Last modified: Apr 5, 2015 (4 years ago) by Matt Bagley