How to detect CTRL + key in Firefox on Ubuntu
Publicado por Txus (1 intervención) el 16/05/2012 12:55:50
HI,
I'm trying to detect the combo CTRL + P using javascript, but it's impossible.
I can detect the CTRL key, but no the 'P' key. So I cannot do:
if(ev.ctrlKey && ev.keyCode=80){
alert("yes!");
}
INFO:
Ubuntu 11.10 (oneiric)
GNOME 2.32.1
Firefox for Ubuntu canonical 1.0
Thanks
I'm trying to detect the combo CTRL + P using javascript, but it's impossible.
I can detect the CTRL key, but no the 'P' key. So I cannot do:
if(ev.ctrlKey && ev.keyCode=80){
alert("yes!");
}
INFO:
Ubuntu 11.10 (oneiric)
GNOME 2.32.1
Firefox for Ubuntu canonical 1.0
Thanks
Valora esta pregunta


0