Main page > jGrow

 Berker Peksağ. Lab.

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 and 1.3.x. It was tested on IE6+, Firefox 2+, Opera 9.x+ (including 10.00 beta), Safari 3.x+ (including 4 Public Beta), Google Chrome 2.x (including developer release) and no bug was spotted yet.

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

GitHub: http://github.com/berkerpeksag/jGrow

Click here to lend your support to: jGrow and make a donation at www.pledgie.com !

Translation: Tuna TOKSOZ.

Top

jGrow 0.3.2 - Changelog

- Fixed a lot of bugs occuring under Internet Explorer 6 and 7.

Download jGrow

jquery.jgrow-0.4.js (Developer, 2010-01-31)

jquery.jgrow-0.4.min.js (Min, 1.4 kb, 2010-01-31)

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

You can start using jGrow with two simple steps.

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

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script>
				

2nd step: Add jGrow to your page.

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

Top

Usage

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

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

And jGrow is ready to use!

Samples

jGrow will adjust the size of the textarea according to the length of the string entered. If you like, you can set a maximum height in order to restrict the size of the textarea.


$("textarea#sample2").jGrow({
	max_height: "300px"
});
				

Top

Comments

Top

Send comment

Fields in bold are mandatory.

 

Top

News

(09.12.2009) Fixed a lot of bugs occuring under Internet Explorer 6 and 7.

(17.06.2009) jGrow 0.3 yayınlandı.

(07.02.2008) Bug tracker -nihayet- aktif.

(27.01.2008) jGrow 0.1 versiyonu yayınlandı.



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