Hi all,
I am trying to develop a page which takes input from the user, parses it key by key and not as a whole string. When the input is in English, firefox fires keyPress events and using that event I perform my operation. But when I enable IME(Input Method Editor) for the input in some local language (other than English), firefox fires three events 'compositionsta rt', 'text' and 'compositionend ' in order. I am unable to get the text input from any of these events.
Can somebody help me in figuring out that how can I get the input from IME?
Thanks.
I am trying to develop a page which takes input from the user, parses it key by key and not as a whole string. When the input is in English, firefox fires keyPress events and using that event I perform my operation. But when I enable IME(Input Method Editor) for the input in some local language (other than English), firefox fires three events 'compositionsta rt', 'text' and 'compositionend ' in order. I am unable to get the text input from any of these events.
Can somebody help me in figuring out that how can I get the input from IME?
Thanks.