[Javascript] ASCII to Text

Paul Novitski paul at novitskisoftware.com
Fri Apr 30 11:47:31 CDT 2004


Flavio,

fromCharCode() is a String method that returns the ASCII character from its 
numerical value.  Try this:

         alert(String.fromCharCode(65))

Paul


At 09:01 AM 4/30/2004, Flavio Gomes wrote:
>Hello,
>
>  Anybody knows how to return "A" with an input of "65" in a function (and 
> vice-versa) in Java Script?
>
>Thanks in advance,
>
>--
>Flavio Gomes
>flavio at economisa.com.br
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list