File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes javascript/html Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript/html" Watch "javascript/html" New topic
Author

javascript/html

prateek saluja
Greenhorn

Joined: Nov 25, 2007
Posts: 2
how to limit the text box entry
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42952
    
  73
Assuming you're talking about an input field of type=text, then you can use the maxlength attribute to set the maximum allowable number of characters.
 
Consider Paul's rocket mass heater.
 
subject: javascript/html