Connect with Peer Bloggers

Get your Bloggers ID and network with best bloggers around the world.

11

Word Count.

Prudhviraj
information4all ― function countit(){ var formcontent=document.Pru.Prucount2.value var trimmed =formcontent.replace(/^s+|s+$/g, '') ; var str = trimmed.replace(/ +(?= )/g,''); trimmed=str.split(" ") document.Pru.Prucount3.value=trimmed.length } Here is A Tool To Count Number of Words In A Text. For Source See Here.

Voted by 1 User



What would you say?

Be the first to comment on this blog post! Sign in or Create an account.