Using Internet Explorer on Windows I have an onkeypress event detecting text entered into a text box. However when entering Chinese characters this event doesn’t fire. Has anyone encountered this or have suggestions on working around this?
Using Internet Explorer on Windows I have an onkeypress event detecting text entered into
Share
Based on this JSFiddle, it seems the
keydownevent does not fire as one might expect. I would use thekeyupevent (though, you’ll still get partially entered characters).From my experiment, I got:
Basically, Windows and IE are not playing nicely with character input. I would suggest using the
changeevent if it’s possible in your framework.