阅读背景:

难以在IE中使用Javascript捕获日文字符输入

来源:互联网 

I am trying to pass keyboard input from Javascript into a Flex app being displayed with Internet Explorer with the input language set to Japanese (using Full Katakana) in the Windows XP language bar. After an initial keystroke, I am passing focus from Javascript to a text field in Flex. Once the focus is in Flex, the IME wakes up and input of the Japanese characters behaves normally. Unfortunately, the initial keystroke does not make it into the IME editor, and so I was hoping to pass along the unicode key value for the keystroke. The keyDown event in Javascript is reporting only 229 for the keyCode, and 0 for the charCode. Any ideas about getting a usable key or char code in Javascript while using Japanese input?I am trying to pass keyboard input from Javascr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: