[Bug 58693] keyPress does not work perfectly in browser javascript
Vojtěch Smejkal
goldfreedom at centrum.cz
Fri Mar 9 18:33:51 UTC 2007
Public bug reported:
Browser javascript does not detect certain pressed keys.
Reproduce:
Set any HTML object onkeypress attribute like for example this:
<textarea onkeypress="alert(event.which);"></textarea>
If you press any key in this textarea, it shows you key code.
But if you want write ü or ä (German) in a way, that you press umlaut first and then letter,nothing happen.
It does not work with some other letters (áíéščřžě) and probably more.
It was tested in Opera, Firefox, Epiphany.
(in Opera you have to replace event.which by event.keyCode)
You can try it here: http://extender.ic.cz/keypress.html
** Affects: firefox (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
keyPress does not work perfectly in browser javascript
https://launchpad.net/bugs/58693
More information about the Ubuntu-mozillateam-bugs
mailing list