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
Translation: Tuna TOKSOZ.
- Fixed a lot of bugs occuring under Internet Explorer 6 and 7.
jquery.jgrow-0.4.js (Developer, 2010-01-31)
jquery.jgrow-0.4.min.js (Min, 1.4 kb, 2010-01-31)
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.
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>
$("textarea#sample1").jGrow();
<textarea name="frmAdres" id="sample1" cols="40" rows="4"></textarea>
And jGrow is ready to use!
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"
});
(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ı.
You can contact me at berker.peksag_gmail_com. Please report bugs via bug report form.