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.
精彩评论