ignoreNextKeyPress
boolean ignoreNextKeyPress
Flag used to avoid handling the shortcut key on both KeyDown and KeyPress events. This flag is needed because of
the inconsistencies between browsers regarding keyboard events. For instance IE doesn't generate the KeyPress
event for navigation (arrow) keys and generates multiple KeyDown events while a key is hold down. On the
contrary, FF generates the KeyPress event for navigation (arrow) keys and generates just one KeyDown event while
a key is hold down. FF generates multiple KeyPress events when a key is hold down.