首頁 >web前端 >js教程 >基于jquery的让textarea自适应高度的插件_jquery

基于jquery的让textarea自适应高度的插件_jquery

WBOY
WBOY原創
2016-05-16 18:22:061137瀏覽

Introduction
1. This textarea is like the google calendar's description when you create one new or update one existence calendar;
2. Its height will be changed accroding to user's input;
3. Its scrollbar is removed, which makes it much user friendly. I guess you may like it.

Using the code

1. import the jquery.js and textarea.js



2. add the following css


3. add one textare html control


4. make it works

陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn