General
You no longer need to provide large textareas in your forms. This script will resize textarea boxes to fit the text in them.
Notes
- Created by: Paul Tuckey
- Web Site: http://tuckey.org/
- Posted: March 12, 2007
To make a textarea none-resizeable, just add the following to the textarea element: onkeyup="";, e.g.,
<textarea cols="40" rows="2" name="reason3" onkeyup="">Add more text to see it expand!</textarea>
Source Code
Paste this source code into the designated areas.
External file
Paste this code into an external JavaScript file named: textArea Sizer.js
Head
Paste this code into the HEAD section of your HTML document.
Body
Paste this code into the BODY section of your HTML document
Do you write JavaScripts?
If you do, why not submit them to us?
We'll give you credit and a link back to your Web site.

