RT,
就像在这里说的,http://mdn.beonex.com/en/DOM/event.keyCode.html,“Characters entered through an IME do not register through keyCode or charCode.”
我想知道有没有其他方式获取到使用IME下输入的keycode呢?
示例代码在这里:http://jsfiddle.net/zyandroid/df5bb/
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
走同样的路,发现不同的人生