Question

I was thinking that is impossible to use an input method (to enter foreign characters like Chinese or Japanese) in Javascript without an input box and that you can't intercept key events. I found Input Method Editor API - W3C Working Draft but it's only a few months old, so browsers don't implement it for sure. Is there a library in pure Javascript that implements an input method that can be used instead?

Update: I found a library on sourceforge jsime, but it doesn't work at all when I test. In answer to this question, the library is mentionned but it's no longer there.

Was it helpful?

Solution

jQuery.IME

https://github.com/wikimedia/jquery.ime

It also has browser extension for Chrome and Firefox and customization options.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top