Word Count Generator

This entry was posted by on Wednesday, 16 December, 2009 at

Word Count Generator

Just copy code below and paste to where you like to put it.

Example : Word Count Generator

<!–
Word count script
By Tech Of Soft (http://techofsoft.com)
–>
<form method=”POST” name=”wordcountgenerator”>
<script language=”JavaScript”>
function countword()
{
var formcontent=document.wordcountgenerator.wordcountgenerator2.value
formcontent=formcontent.split(” “)
document.wordcountgenerator.wordcountgenerator3.value=formcontent.length
}
</script>
<table border=”0″ cellspacing=”0″ cellpadding=”0″>
<tr>
<td width=”100%”><textarea rows=”12″ name=”wordcountgenerator2″ cols=”60″ wrap=”virtual”></textarea></td>
</tr>
<tr>
<td width=”100%”>
<div align=”right”>
<p>
<input type=”button” value=”Calculate Words” onClick=”countword()”>
<input type=”text” name=”wordcountgenerator3″ size=”20″>
</p>
<div align=”center”>
<center>
<p>
<font face=”arial” size=”-2″>Source Code by</font>
<font face=”arial, helvetica” size=”-2″>
<a href=”http://techofsoft.com”>Tech Of Soft</a></font>
</p>
</center>
</div>
</div>
</td>
</tr>
</table>
</form>

Be Sociable, Share!

Leave a Reply