disable ime mode in google chrome

css, google-chrome, html, ime

Solution

change the attribute type to tel. It works just like ime-mode is inactive in chrome and other browsers supports html5.

element.setAttribute('type', 'tel');

I recommend you to use both ime-mode and type="tel"

style: ime-mode

Chrome          Firefox (Gecko)     IE        Opera             Safari (WebKit)
Not supported   3.0 (1.9)           5.0       Not supported     Not supported

input type="tel"

Chrome      Firefox         IE      Opera           Safari      Safari Mobile
6+          4+              10+     10.6+           5.1+        iOS 3.1+

Using Both

Chrome      Firefox         IE      Opera           Safari      Safari Mobile
6+          3.0 (1.9)       5.0     10.6+           5.1+        iOS 3.1+

Problem

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 I use ``` style="ime-mode:disabled" ``` It works all other browsers except google chrome.

Original source