javascript - What's the ascii of arrow keys? (Scripting and Programming Editing/Tips)
please don't say: 37(left arrow)38(up arrow)39(right arrow)40(down arrow)! that doesn't work! i've asked this in several forums.
external keys consists of two parts .. the first one is null .. and the second is the value of the keycode .. in c++ for example i can check if the value = null then i read the keycode again and so successfully i discovered the arrow ascii codes (null 75-null 77- null 72-null 80) .. i'm sure of that because i found it in a book for c++ basics .. so what's the problem? .. i can't even say (null) to javascript! .. undefined! ..
what a long story to make a simple action! ..
again .. in short .. anyone know how to detect arrow keys with javascript?
328 views
Complete thread:
- javascript - What's the ascii of arrow keys? - sphenom, 2010-02-06, 13:07
![Open whole thread [*]](templates/default/images/complete_thread.png)
- javascript - What's the ascii of arrow keys? - JTT, 2010-02-08, 07:40
![Show preview […]](templates/default/images/ajax_preview.png)
- javascript - What's the ascii of arrow keys? - JTT, 2010-02-08, 07:40