Composition event in Firefox/mozilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rainbow1008
    New Member
    • Jan 2008
    • 1

    Composition event in Firefox/mozilla

    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.
Working...