Assume that you define a textarea element that has a maxLength attribute defined to a value on a webpage. Then, you open the webpage in legacy quirks mode in Internet Explorer 11. When you try to retrieve the maxLength attribute by using the getAttribute method on the webpage, the result is null.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.