基于jquery的让textarea自适应高度的插件_jquery
程序员文章站
2022-05-07 15:21:10
...
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
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