Home >Web Front-end >JS Tutorial >jQuery twitter-like text word limit with prompt effect plug-in_jquery

jQuery twitter-like text word limit with prompt effect plug-in_jquery

WBOY
WBOYOriginal
2016-05-16 18:29:181342browse

A JQuery plug-in with similar effects jQuery maxlength text character limit plug-in has been introduced before, but this time the charcount deployment is simpler and has functions beyond numerical prompts.
Simple deployment:

1. Load js:

Copy code The code is as follows:




2.Html structure:
Copy Code The code is as follows:


Default Usage< ;/h2>






3.charCount plugin settings:
Copy code The code is as follows:



Demo code
Package and download
Statement:
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