标签:
<script type="text/javascript">var str;var asc;str = "A";document.write(str.charCodeAt(0));asc = 65;document.write(String.fromCharCode(asc));</script>
js 仿 asp中的 asc 和 chr 函数的代码
原文地址:http://www.cnblogs.com/lykouyi/p/5876425.html