Click here to Skip to main content
15,891,907 members
Articles / Programming Languages / Javascript

How to limit the number of lines and characters in a TextArea

Rate me:
Please Sign up or sign in to vote.
3.50/5 (7 votes)
17 Dec 2009CPOL5 min read 84.5K   758   15  
Client-side JavaScript to limit the content of a TextArea to a certain number of characters as well as to a certain number of lines.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Austria Austria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions