M
Mr. x
Hello,
I want to capture the event when the <ctrl> key is pressed.
How can I do that ?
Thanks
I want to capture the event when the <ctrl> key is pressed.
How can I do that ?
Thanks
Hello,
I want to capture the event when the <ctrl> key is pressed.
How can I do that ?
on 14/11/2003:
This is under IE 6 (I don't have any other browsers, so someone else
will have to chip in).
A onkeydown event is fired when the CTRL key is pressed, but the
event.which and event.modifiers properties are undefined (even when a
letter key is pressed). This means that there is no reliable way to
detect it. The onkeypress event doesn't work with modifier keys
(ctrl, alt, shift, etc).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.