aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Count number of characters 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 "Count number of characters" Watch "Count number of characters" New topic
Author

Count number of characters

Sapan Shah
Greenhorn

Joined: Jan 01, 2010
Posts: 25
I want to count a number of dot(.) in a string which i am entering in a textfield.


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42600
    
  65
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?


Ping & DNS - my free Android networking tools app
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
 
Don't get me started about those stupid light bulbs.
 
subject: Count number of characters