need event.keyCode to return non English character value

Posted on 2005-03-01
Medium Priority
Last Modified: 2012-05-05
I am checking event.keyCode in the onKeyDown event. Even though I am in a keyboard language other than English (in this case Hebrew) the keyCode that is returned is the english character value of the same key. How do I get the other language keyCode? Also, how do I check what the current keyboard language is?
Question by:kellykln
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
LVL 15

Accepted Solution

OMC2000 earned 750 total points
ID: 13428450
There is no internal relation between event.keyCode and current locale. As you can see one key always returns the same code regardless locale selection.

You could set switch where each keyCode will get correspondent character. You can map key codes to any characters.

Author Comment

ID: 13589524
Thanks OMC2000 but this did not help me solve my problem. How do I delete this question
LVL 15

Expert Comment

ID: 13589633
I think there is some difference between problem solving and question answering.  I think my responce answered your question. If it does not much your expectations, it's another issue.

But anyway,  you can post request for delete and refund at

Author Comment

ID: 13609652
Your right, you anwered my question even though it didn't solve my problem. Thanks for your help.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question