首页 >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