Home > Web Front-end > JS Tutorial > Plug-in for making textarea adaptive to height based on jquery_jquery

Plug-in for making textarea adaptive to height based on jquery_jquery

WBOY
Release: 2016-05-16 18:22:06
Original
1144 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template