Does anyone know if it's possible to enable maxlength on a textarea using javascript or jquery?

Posted by Ben on Stack Overflow See other posts from Stack Overflow or by Ben
Published on 2010-04-30T20:23:59Z Indexed on 2010/04/30 20:47 UTC
Read the original article Hit count: 217

Filed under:
|
|

Is it possible to have a textarea with max length in html so that the max length will not be exceeded even when pasting text? I have yet to see anyone implement this correctly, being able to handle the paste event when right-clicking and selecting paste.

© Stack Overflow or respective owner

Related posts about html

Related posts about JavaScript