by Lasse Reichstein Nielsen <lrn@[EMAIL PROTECTED]
>
May 7, 2008 at 07:12 AM
"teser3@[EMAIL PROTECTED]
" <teser3@[EMAIL PROTECTED]
> writes:
> I have the below that limits the textarea input to 500 characters but
> cant get the alert message to work. It doesnt show anything.
Do you get any error messages from the browser?
Does the line previous to the alert work? I.e., is the textarea
contents restricted to 500 chars?
> alert("You are trying to enter more
> than 500 characters");
The linebreak is not allowed in a string. If this is your actual code,
that could be the problem.
/L
--
Lasse Reichstein Nielsen - lrn@[EMAIL PROTECTED]
DHTML Death Colors:
<URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'