permaculture playing cards*
The moose likes HTML, CSS and JavaScript and the fly likes text area character limit code without trimming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "text area character limit code without trimming" Watch "text area character limit code without trimming" New topic
Author

text area character limit code without trimming

antsi klando
Ranch Hand

Joined: May 10, 2011
Posts: 46
I find a several websites that show the javascript code snippets for textarea maximum length setting.



This code will trim the string and will have another field updating the field count,say 150 characters entered.

Can I get the JavaScript code for stopping the text entered once the maximum limit has already reached?
Also,HTML 5.0 has maxlength and does not support IE.HTML 4.01 does not have maxlength and supports IE.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: text area character limit code without trimming