Javascript – textarea – characters counter
<html> <head> <script language="javascript"> <!-- // The counter includes the white spaces -> my mother = 9 letters function Counter() { var counter = document.myform.count.value.length; alert(counter); } //--> </script> </head> <body> The counter includes the white spaces -> my mother = 9 letters <form name="myform"> <textarea name="count" rows="5" cols="30"></textarea><br> <input type="button" value="Letter Count" onClick="Counter()"> </form> </body> </html>