This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 43
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
 
Similar Threads
onblur errors in Netscape
html:textarea property
javascript with JSF???
Prototype Ajax.Request error - Function Expected Options
Populating JSP text field with Javascript?