impaler wrote:
Why not limit length of input in the first place?
It's a javascript topic so I thought he wants a javascript solution :)
You are talking nonsense. Mine *is* a JavaScript solution as well, which,
in contrast to yours, limits the length of input on the first place rather
than correcting the value afterwards. And any solution for this problem
cannot qualify as a JavaScript solution alone, because the DOM is involved
always.
Learn to quote.
PointedEars