<script language="javascript">
function keyDown()
{
var keycode=event.keyCode;
var keychar=String.fromCharCode(keycode);
alert('ASCII='+keycode+'\nKeyChar='+keychar);
}
document.onkeydown=keyDown;
</script>

相关文章:

  • 2022-12-23
  • 2021-04-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2022-12-23
猜你喜欢
  • 2021-08-04
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-08
相关资源
相似解决方案