I am trying to limit the number of characters entered in a textarea as shown: This works fine in Firefox and Chrome but the maxlength attribute doesn't work in IE. It is defined in HTML5 though but I guess IE doesn't implement it. Chrome counts characters wrong in textarea with maxlength attribute, Maxlength not counting properly in chrome but does well in FF. Here's an example. Browser and emulators are working just fine. Steps to reproduce: … It won't give you any warning or throw an error, but quietly ignore … Could 1950s technology detect / communicate with satellites in the solar system? Why do you have a px for maxlength? rev 2020.12.18.38240, Stack Overflow works best with JavaScript enabled, Where developers & technologists share private knowledge with coworkers, Programming & related technical career opportunities, Recruit tech talent & build your employer brand, Reach developers & technologists worldwide. GitHub - 6eDesign/maxLength … Hello, everyone, I'm using JavaScript to limit the number of characters allowed in a textarea. When the answer of Darin Dimitrov was posted back in 2010, the maxlength attribute wasn't implemented apparently. Attribute; rows: Yes: Yes: Yes: Yes: Yes: Syntax