|
Post by Trobias on Jun 2, 2009 10:17:44 GMT -5
<center><form method="POST" name="wordcount"> <script language="JavaScript">
function countit(){
var formcontent=document.wordcount.wordcount2.value formcontent=formcontent.split(" ") document.wordcount.wordcount3.value=formcontent.length } </script> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100%"><textarea rows="12" name="wordcount2" cols="60" wrap="virtual"></textarea></td> </tr> <tr> <td width="100%"><div align="right"><p><input type="button" value="Calculate Words" onClick="countit()"> <input type="text" name="wordcount3" size="20"></p> </div></div></td> </tr> </table> </form>
|
|