Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
727 views
in Technique[技术] by (71.8m points)

javascript - How to convert a char to its keycode?

How can I convert a character to its respective keycode?

For example:

  • a to 65
  • b to 66
  • c to 67
  • d to 68
question from:https://stackoverflow.com/questions/1430989/how-to-convert-a-char-to-its-keycode

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

Please log in or register to answer this question.

Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...