开发者

How to prevent auto correction / suggestion of text in textarea?

We provide a pa开发者_JAVA百科ge where a student can provide his answer to a certain question. This information is obtained via an input text area box and we would prefer that the browser doesn't auto correct and indicate grammatical errors on the student responses (e.g. obey is correct but obay is wrong). The browser shows a red underline if there are grammatical mistakes. How do I prevent this across all browsers.


HTML5 defined a new attribute for this... spellcheck=false

I don't think it can be done in previous versions of (X)HTML.


That is not possible other than disabling/uninstalling that feature in the browsers themselves. Make sure you uninstall their word processors too, while you are at it!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜