By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,946 Members | 1,676 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,946 IT Pros & Developers. It's quick & easy.

evt keycodes?

P: n/a
Where can I find a list of event keycode numbers? Specifically, I want
to know what evt.keycode number is needed to intercept the delete key.
--
--
Fabian
Visit my website often and for long periods!
http://www.lajzar.co.uk

Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Fabian wrote on 03 nov 2003 in comp.lang.javascript:
Where can I find a list of event keycode numbers? Specifically, I want
to know what evt.keycode number is needed to intercept the delete key.


Try it out with this code:

<body
onkeydown="this.innerHTML=event.keyCode">
press delete or any other key
</body>

Anyway, it is ASCII dec 27 = hex 1B

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.