• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Count number of characters

 
Sapan Shah
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to count a number of dot(.) in a string which i am entering in a textfield.


 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't see a question in there ... does the code not work? If so, how does it deviate from what you expected it to do?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not use document.write after the page load.

Note: when you post code, please use code tags. Select the code and click the wonderful button that says "Code" on it.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic