pradipta gure pradipta gure - 4 years ago 160
HTML Question

Text Area issue in IE11 - text content changed automatically

I have a simple html file.

<!doctype html>
<textarea rows="4" cols="50">

I opened the html file in IE11 browser. I type "cafe" and hit a space after that. The content automatically get changed to "café". This issue is not happening every time. But once html file is loaded to the IE11 browser for the first time, issue is happening definitely.

Can anyone help me to understand the cause of the issue and how to resolve this?

Answer Source

It's IE's auto-correct "feature".

Either adapt your textarea as follows:

 <textarea rows="4" cols="50" autocorrect="off"></textarea>

Or turn off auto-correct completely in your Windows settings.

Note: you can additionally turn off auto-capitalization, auto-completion and spell-checking:

<textarea autocorrect="off" autocapitalize="off" autocomplete="off" spellcheck="false"/>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download