<html>
<head>
<script type="text/javascript">
function textcount(field)
{
document.getElementById("count").innerHTML=document.getElementById(field).value.length;
}
</script>
</head>
<body>
<textarea id="mytext" onkeypress="textcount(this.id)"></textarea><span id="count"></span>
</body>
</html>
<head>
<script type="text/javascript">
function textcount(field)
{
document.getElementById("count").innerHTML=document.getElementById(field).value.length;
}
</script>
</head>
<body>
<textarea id="mytext" onkeypress="textcount(this.id)"></textarea><span id="count"></span>
</body>
</html>
0 Comments