|
JavaScript Char (key) Codes
|
|
07-24-2010, 11:28 PM
Post: #1
|
|||
|
|||
|
JavaScript Char (key) Codes
Here are all codes of buttons on keyboard we use in JS in combination with onKeyDown event. in example :
Code: if (event.keyCode == 18 || event.keyCode == 9) alert("You are switching windows");Here is the table: Code: backspace 8Note: PrintScreen/SysRQ button is working on onKeyUp event, not on onKeyDown and its code is 44. Read rules ![]()
|
|||
|
07-25-2010, 03:42 AM
Post: #2
|
|||
|
|||
|
RE: JavaScript Char (key) Codes
Woo
thanks l3g.
"Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
« Next Oldest | Next Newest »
|







thanks l3g.
