Meaningless Drivel is fun!*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 39530
    
  27
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 - updated with new look and Ping home screen widget
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Count number of characters
 
Similar Threads
Help with displaying data properly
command button issue
Not able to hide a sentence using jquery
radio button error problem?
Submitting a text field along with a file?