my dog learned polymorphism
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
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "javascript/html" Watch "javascript/html" New topic


prateek saluja

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

Joined: Mar 22, 2005
Posts: 42965
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.
I agree. Here's the link:
subject: javascript/html
It's not a secret anymore!