»
EnglishFrenchVietnamese

Print - Character counter - JavaScriptBank.com

Full version: jsB@nk » Calculation » Character counter
URL: https://www.javascriptbank.com/character-counter.html

Character counter © JavaScriptBank.comThis JavaScript can be used to count character.

Full version: jsB@nk » Calculation » Character counter
URL: https://www.javascriptbank.com/character-counter.html



JavaScript
<script language="JavaScript">function countit(what){formcontent=what.form.charcount.valuewhat.form.displaycount.value=formcontent.length}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<form><textarea rows="12" name="charcount" cols="40" wrap="virtual"></textarea><br><input type="button" value="Calculate Characters" onClick="countit(this)"> <input type="text" name="displaycount" size="20"></form><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->