//ASCII码转换字符 function asciiToStr(code) { //alert("code:" + code + "\r\n字符:" + String.fromCharCode(code)); return String.fromCharCode(code); } //字符转换ASCII码 function strToAscii(str) { return str.charCodeAt(); }
jcdd-4041 2015-01-15 17:39 原文
//ASCII码转换字符 function asciiToStr(code) { //alert("code:" + code + "\r\n字符:" + String.fromCharCode(code)); return String.fromCharCode(code); } //字符转换ASCII码 function strToAscii(str) { return str.charCodeAt(); }