Version compl�te: jsB@nk » Calcul » Word Count
URL: https://www.javascriptbank.com/word-count.html
Cet JavaScript va compter les mots.
Version compl�te: jsB@nk » Calcul » Word Count
URL: https://www.javascriptbank.com/word-count.html
<form method="POST" name="wordcount"> <script language="JavaScript">function countit(){var formcontent=document.wordcount.wordcount2.valueformcontent=formcontent.split(" ")document.wordcount.wordcount3.value=formcontent.length} </script><table border="0" cellspacing="0" cellpadding="0"> <tr> <td><textarea rows="12" name="wordcount2" cols="40" wrap="virtual"></textarea></td> </tr> <tr> <td align=center><input type="button" value="Calculate Words" onClick="countit()"> <input type="text" name="wordcount3" size="20"></td> </tr> </table></form><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->