disable ime mode google chrome [禁用输入法模式谷歌浏览器] - 问题-字节技术
disable ime mode google chrome
禁用输入法模式谷歌浏览器
问题 (Question)
How to disable IME using css or anyother method ?My problem is that,When change language to japanese,Double byte numbers are entered in text box,I need to prevent this
style="ime-mode:disabled"
It works all other browsers except google chrome.
如何禁用输入法使用CSS或其他方法?我的问题是,当改变语言日本,双字节数输入文本框,我要阻止这我用
style="ime-mode:disabled"
除了谷歌浏览器其他浏览器工作。
最佳*** (Best Answer)
-webkit-ime-mode:disabled
here your are:
Syntax -webkit-ime-mode: auto | active | inactive | disabled
Syntax -moz-ime-mode: auto | active | inactive | disabled
Syntax -ms-ime-mode: auto | active | inactive | disabled
Syntax ime-mode: auto | active | inactive | disabled
chrome v.25.0. and above
试试这个,-webkit-ime-mode:disabled在这里,你是:Syntax -webkit-ime-mode: auto | active | inactive | disabled
Syntax -moz-ime-mode: auto | active | inactive | disabled
Syntax -ms-ime-mode: auto | active | inactive | disabled
Syntax ime-mode: auto | active | inactive | disabled
Chrome v.25.0.以上
本文翻译自StackoverFlow,英语好的童鞋可直接参考原文: