Home  >  Article  >  Web Front-end  >  JS specific implementation of limiting the number of characters in Textarea text area_javascript skills

JS specific implementation of limiting the number of characters in Textarea text area_javascript skills

WBOY
WBOYOriginal
2016-05-16 17:27:16754browse
Copy code The code is as follows:


JS limits Textarea text Number of field characters

                                                                             " rows="5" onKeyDown="textCounter(message,remLen,6);" onKeyUp=
"textCounter(message,remLen,6);">
You can also enter: Characters




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