zeetor
12.08.2008, 18:38:01
Jak wyznaczyc max liter w polu textarea....w polu input robi sie to
maxlength="10"
...ale w polu textarea ta formułka nie dziala...
dz i pozdr
ayeo
12.08.2008, 18:44:28
Witam!
<script language="Javascript"> function tooLong(strTest,maxLength)
{
if(strTest.value.length > maxLength)
{
strTest.value = strTest.value.substr(0,50);
}
}
* kod znaleziony w necie
Pozdrawiam!