Posted on : 09/16/2008 | By : Jimmy Vu | In : Solution
Here are some quick and useful jQuery plugins from Jason Frame’s “jQuery Grab Bag“.
Auto-Grow TextArea
The technique is borrowed from Facebook that uses an off-screen <div> to calculate the required dimensions of the textarea to reveal all texts inside instead of to display vertical scrollbar. Run the following code line to enable auto-grow behavior to all textareas on page.
$('textarea').autogrow();
Online Demo
Input Hint
It’s not always necessary to attach label to every text field in web form, instead you can use hint to tell user what to type in the fields. This plugin will help keeping away from tedious codes to add hints to input boxes.
First, add hint attribute to input fields.




1