Hello, i have a problem..
I have a textarea wich sets hard returns (wrap=hard) at the end of a line, further more a javascript counts the amount of lines. (More than four lines will cause an alert)
It validates on onkeyup
Everything works fine, if I type something and use the return on keyboard, type some more on the next line..press return..and so on till i've reached the 5 line an alertbox will tell me that the maximum amount of lines is reached.
The problem is when i don't use the return on my keyboard the script doesn't recognize the end of the line!
So i can type four lines without using return but let the tekstarea do it's work automatically. As you may know, a tekstarea automatically breaks lines during typing and i thougt that with the parameter i use: WRAP=HARD the javascript would recognize the hard returns.
Bookmarks