开发者

Is it possible to change the keypress event in Google Chrome

I have gotten the code to work in IE. However, in Chrome the event does not get changed. Is there a special way of doing this in Chrome, instead of assigning the charCode, keyCode and which variables to the value that I want?

I have posted my code at http://jsfiddle.net/qjpZN/5/

Any help would be appre开发者_JAVA百科ciated.


Try using keydown event instead. Chrome have a known issue with keypress that maybe fixed in newer versions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜