Cross-browser textarea maxlength
What is a cross-browser way to set the maximum number of characters in a
textarea? maxlength does not work on Opera and IE9 and below.
Once the character limit is reached, the textarea should not allow more
characters to be entered. Text pasted either with Ctrl+V or the
right-click context menu should be cut off at the character limit. This
means a solution that uses only onkey___ events is not sufficient.
Saturday, August 24, 2013
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment