J
Joaquín Zuazo
I'm trying to find what character was pressed, using an accent with a
dead letter, e.g an á, on an input box.
I have made an small program to check the keyboard events keydown,
keypress and keyup, and only the
keyup one is fired two times. The first with a 0 keycode and the
characte code just later. No keydown or keypress events, and it is
not enough information to know what character was really pressed.
It happens with Firefox 2.0.0.14 on Linux. Firefox on Windows works
and behaves in a different way.
The input box is properly modified, so, I guess Firefox understands
whatever key sequence is
receiving from the Operating or the X system.
Any suggestion?
Thanks in advance.
dead letter, e.g an á, on an input box.
I have made an small program to check the keyboard events keydown,
keypress and keyup, and only the
keyup one is fired two times. The first with a 0 keycode and the
characte code just later. No keydown or keypress events, and it is
not enough information to know what character was really pressed.
It happens with Firefox 2.0.0.14 on Linux. Firefox on Windows works
and behaves in a different way.
The input box is properly modified, so, I guess Firefox understands
whatever key sequence is
receiving from the Operating or the X system.
Any suggestion?
Thanks in advance.