TextArea MaxLength - Supported or Not Supported?

前端 未结 1 1722
刺人心
刺人心 2021-01-19 08:05

I was getting ready to add a jQuery plugin to support maxlength on textarea\'s and noticed that the MaxLength attribute is working natively on Safari, Chrome, and Firefox.

相关标签:
1条回答
  • Yes, maxlength was added to <textarea> in HTML5, so that's why you're seeing the behavior in newer browsers.

    Do you need a plugin? that depends...if you need to support older browsers, then yes.

    0 讨论(0)
提交回复
热议问题