Interactive character limit for textarea

联合创作 · 2023-10-02 16:18

For a textbox, number of characters of a field can easily be limited with maxlength attribute. But maxlength doesn’t work for textarea. It's an interactive solution for this problem. This script describes how to do it using jQuery. An additional function added to do the same thing without jQuery.

浏览 6
点赞
评论
收藏
分享

手机扫一扫分享

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

手机扫一扫分享

编辑 分享
举报