I’m seeing a strange behaviour, hopefully someone out there can explain this.
I have keypress event capturing any keys pressed on the screen. If ‘P’ is hit, expands a section that does a focus() and select() on an input field.
The field has a keydown() event that only allows numeric characters.
So when I am on the main screen and hit ‘P’, the section expands as it should, but the field now has a ‘P’ in it. This only occurs in IE9.
Strangely enough, the keydown() event must kick in after the ‘P’ is put in there, because if I try to enter ‘P’ into the field, I am not allowed.
Does anyone know what is happening here?
Figured out the problem, I wasn’t returning false on the keypress event, once I did that, no more input was sent to the input.