http://jttechonline.com

JT Tech Services & Support Forum

Back to the forum index
Open in thread

javascript - What's the ascii of arrow keys? (Scripting and Programming Editing/Tips)

by sphenom, Saturday, February 06, 2010, 13:07 (214 days ago)

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:

 RSS Feed of thread

75 Postings in 32 Threads, 1 registered users, 5 users online (0 registered, 5 guests)
Forum time: 2010-09-09, 00:00
RSS Postings  RSS Threads | Contact
powered & hosted by JT Tech Servers