<body onload='chet()'><form name='pole'><textarea id='text1' name='area' width='300'>1111</textarea></form></body> <script> function chet () { alert('Количество символов в строке: ' + document.pole.area.length) } </script>