da hast du recht coding, aber ich hab grad ein script gefunden das mir zumindest die zeichen einschränkt und die eingabe ab 1000 zeichen blockiert. jetzt muß es nur noch irgendwie funktionieren das er mir die zeilen zählt und ab einer bestimmten anzahl blockiert :)
hier mal der code wie es jetzt ausschaut
HTML-Code:
<SCRIPT language=JavaScript>
<!--
function CheckStr() {
StrLen=window.document.tape.notiz.value.length;
var maxi=1000;
if (StrLen>maxi){
window.document.tape.notiz.value=window.document.tape.notiz.value.substring(0,1000);
StrLeft=0;
}
}
// -->
</SCRIPT>
<textarea cols=80 rows=30 name="notiz" onChange=CheckStr(this) onFocus=CheckStr(this) onBlur=CheckStr(this) onKeyDown=CheckStr(this) onKeyUp=CheckStr(this)></textarea>