You can use chr(ascii).

解决方案 »

  1.   

    是不是这样:
    <input type=button value=转换 id="b1">
    <input type=text id="t1>
    <script language=vbs>
    sub b1_onclick()
      msgbox "返回相应字符为:"&chrval(b1.value),0,""
    end sub
    </script>
    当然要判断ascii值合不合法。。
      

  2.   

    in Javascript:var test = String.fromCharCode(112, 108, 97, 105, 110); //"plain"
      

  3.   

    就是可以直接调用string对象的fromcharcode方法得到ascii码对应的字符了
      

  4.   

    sdtashenjie方法描述不明确,我未能理解,yzx_zyj用的是VBScript,不符合我的要求,net_lover兄提供的方法与我的要求相反,karma兄方法经过测试正确,给分,vincentmar来晚了,遗憾