Auto Growing Textareas

联合创作 · 2023-10-02 15:39

This plugin makes it easy to have auto-growing textareas. Meaning, if you have a textarea, as the user types it will expand vertically to accommodate the size of the entry. This was inspired by Facebook's auto-expanding text areas.

To make a textarea autogrow, simply do this

$('textarea').autogrow();
$('textarea.classname').autogrow();
etc...

浏览 11
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报