JS 的 keyCode对应的应该是 ASCII值,搜索ASCII表 可以查看
String.fromCharCode() - 从keyCode 转换为 字符
String.charCodeAt() -从字符 转换为 keyCode
转载于:https://www.cnblogs.com/kevoin/p/6567957.html
JS 的 keyCode对应的应该是 ASCII值,搜索ASCII表 可以查看
String.fromCharCode() - 从keyCode 转换为 字符
String.charCodeAt() -从字符 转换为 keyCode
转载于:https://www.cnblogs.com/kevoin/p/6567957.html