473,387 Members | 1,431 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

evt keycodes?

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
1 6548
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Henke | last post by:
Hi! Are there any built in classes (or methods) in the framework that can encrypt to some simple string like the one you enter when registring an Microsoft application (xxxx-xxx-xxxx-xxxx)? I...
1
by: Ram | last post by:
Dear All, We developed windows desktop applicaiton using C#. Now the application is ready to be installed at customer site. But we would like to generate keycodes to restrict various modules,...
5
by: Robert Mark Bram | last post by:
Hi All, This page: http://www.lookuptables.com/ shows that the decimal ASCII code for 'A' is 65 and 'a' is 97. Yet I find that the following code in Firefox and IE show 65 for a and A. ...
10
by: sconeek | last post by:
hi all, i have a textfield where i would like the user to input only Y or N. can somebody tell me how can i restrict the user from entering any other character, number or special character....
2
by: Astra | last post by:
Hi All I have a JS routine to prohibit users from entering a range of chars in a textbox and although this works perfectly in IE x, in the latest version of Firefox it appears to be blocking...
0
by: Brenton Garman | last post by:
First off, I want to thank you for so speedily answering my question, (Mike and R.Mac) however, let me rephrase my question: "Upon startup, I need the textbox, without the user pressing the...
3
by: gouthambu | last post by:
Hi all, I have a javascript to limit the text entry in a text area after the size reaches 300 (only thing that should be allowed is left arrow,up arrow, right arrow 39,down arrow,delete and...
3
by: Vajrala Narendra | last post by:
Hi, all How to handle Keypress event in asp.net What about keyup, keydown, keycode,..? ThanQ Naren
1
by: Dom | last post by:
In some events for the TextBox, I get only the KeyCode, that is, a number. In VB, I used to be able to convert this to a char. How do I do that in CS?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.