Matt Fiddles

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

User Tools

Site Tools


C-3PO: "Sir, the possibility of successfully navigating an asteroid field is approximately 3,720 to 1!"

Han Solo: "Never tell me the odds!"

Where will you go today?

Princess Leia: "I love you."

Han Solo: "I know."

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 (3 years ago) by Matt Bagley