Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javascript/html

 
prateek saluja
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to limit the text box entry
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic