I m developing a cross-browser application in Script#. I m using a contenteditable div, where user can add text. But i dont want the auto correct/ auto completion feature to change the user text.
Plz tell me how can i disable this feature. It should work on all platforms. ( iOS, Android, Windows)
I have tried autocorrect="off"; autocomplete="off"
but nothing is working. plz help....
What you can do is to use the attribute spellcheck=false
. This is (in HTML5 CR) the defined way to disable “checking of spelling and grammar of editable text”. The default value of this element is browser-dependent, and the value may depend on element. E.g., in Chrome, the default is spellcheck=true
for an element that has been made editable using the contenteditable
attribute.
However, this affects (at most) only what happens in the browser. Software external to the browser, such as a system’s keyboard reading routines, are probably immune to anything you say in HTML.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With