我知道别人也提出了同样的问题,但是他们总是把spellcheck = false视为接受的答案.这是不正确的.这只适用于textarea,而不是输入.
我希望至少在铬上工作.
解决方法 从 http://blog.whatwg.org/the-road-to-html-5-spellchecking#compatibility:Google Chrome offers as-you-type spellcheck on
<textarea>
elements but not<input type=text>
elements@H_419_17@. It ignores the spellcheck attribute entirely. It does not offer the end user the option to change the default behavior or manually check indivIDual fIElds.
所以,它结束了.
更新:自Chrome 13(2011年8月发布,此答案后3个月),也支持< input>元素.
总结以上是内存溢出为你收集整理的html – 如何在输入type = text上禁用拼写检查?全部内容,希望文章能够帮你解决html – 如何在输入type = text上禁用拼写检查?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)