Back to Top

Automatically Resize text area to fit content

Resize text area to fit all text on load

In this short tutorial, I am going to explain about how to resize text area to adjust all text on load.

Sometimes you have long text and text will not display better when you want to edit and if you apply width and height, it will fix the width and height with small content.

so, I have found the solution for Resize Textarea based on added data. Its working fine in Android and Iphone also.

Here is the solution:

Recommended Read:

To use JSON Response of Webservice in Phonegap Android
Getting Started With PhoneGap

Hope this helps someone else out.As always, thanks for reading. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular Posts

How to use SQLite Database in PhoneGap?

Posted on 11 years ago

Bhumi

To Swap Database Row in PHP

Posted on 13 years ago

Bhumi

How to use Transient API in WordPress

Posted on 10 years ago

Bhumi