Ich hab was fuer Dich...
<html>
<head>
<body bgcolor="00E0E0">
<form name="htmleingabe" action="javascript:">
<textarea name="htmltext" rows=20 cols=50></textarea><br>
<textarea name="showit" rows=1 cols=50></textarea><br>
<hr size=1>
<input type="button" value="Stop/Start" onClick="testof();">
</form>
<script language="JavaScript" type="text/javascript">
<!--
var stop = 1;
var saved= 0;
test();
function test()
{
window.document.htmleingabe.htmltext.blur();
window.document.htmleingabe.htmltext.focus();
if (window.document.htmleingabe.htmltext.value.length - saved)
{
saved = window.document.htmleingabe.htmltext.value.length;
window.document.htmleingabe.showit.value = saved;
}
if (stop)
window.setTimeout("test()",100);
}
function testof()
{
stop = !stop;
}
//-->
</script>
</body>
</html>
Das duerfte es tun.
Gruesse, Bio