Autogrowing (vertically) Textareas - Gmail for Mobile HTML5

When composing a long message in a web app, you really want to see as much of your draft as possible and make use of all the available screen space. This post shares a simple JavaScript solution for textareas that automatically grow (vertically) to the size of the content. They make composing long messages much easier and, […]

When composing a long message in a web app, you really want to see as much of your draft as possible and make use of all the available screen space. This post shares a simple JavaScript solution for textareas that automatically grow (vertically) to the size of the content. They make composing long messages much easier and, for all those iPhone users out there, takes away the need to scroll with the dreaded magnifying glass! Google’s working on getting this into Gmail for mobile but here’s how it’s call: <textarea id="growingTextarea" onkeyup="grow();"></textarea>


Full ArticleCode Blog

About The Author

Deepak Gupta is a IT & Web Consultant. He is the founder and CEO of diTii.com & DIT Technologies, where he's engaged in providing Technology Consultancy, Design and Development of Desktop, Web and Mobile applications using various tools and softwares. Sign-up for the Email for daily updates. Google+ Profile.