Home page > jGrow

 Berker Peksağ. Lab.

jGrow

jQuery page: http://plugins.jquery.com/project/jGrow


What is jGrow?

jGrow is a jQuery plug-in that makes the textarea adjust its size according to the length of the text.

It works smoothly with jQuery 1.2.x. It was tested on IE6/7, Firefox 2.0.x and Opera 9.x, and no bug was spotted yet.

English translation: Tuna TOKSÖZ.

Top

jGrow 0.2 - Release notes

Click here for release notes.

Download jGrow

jquery-1.2.3.min.js (15 kb)

jGrow-0.2.js (1 kb, 04.03.2008)

jGrow-0.1.js (1 kb, 27.01.2008)

Top

If you have any suggestions, or if you spotted a bug...

jGrow is still in its first release and may contain bugs. Please report bugs by clicking here. If you have any suggestions, please don't hesitate to write them to berker.peksag_gmail_com.

Installation

1st step: Add the latest jQuery library to your page.

<script type="text/javascript" src="jquery-1.2.3.min.js"></script>
					

2nd step: Add jGrow to your page.

<script type="text/javascript" src="jquery.jgrow-0.2.js"></script>
					

Top

Usage

You can start using jGrow with two simple steps.


$(document).ready(function() {

	$("textarea#adres").jGrow({ rows: 25 });

});
					

<textarea name="frmAdres" id="adres" cols="40" rows="4"></textarea>
					

Samples

Sample 1:

$("textarea#adres").jGrow({ rows: 25 });
				

Sample 2:

$("textarea#adres2").jGrow({ rows: 8 });
				

Sample 3:

$("textarea#adres3").jGrow();
				

Top

Comments

Top

Send comment!

Fields in bold are mandatory.

 

Top

Contact

You can contact me at berker.peksag_gmail_com. Please report bugs via bug report form.

XHTML 1.0 | CSS 2.1

(c) Berker PEKSAĞ.
v1 - 23.01.2008