Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q972 How can I convert an ASCII code to the correct character?

You are here: irt.org | FAQ | JavaScript | Text | Q972 [ previous next ]

In JavaScript 1.2 you can use the String objects fromCharCode() method:

<script language="JavaScript1.2"><!--
alert(String.fromCharCode(64));
//--></script>

Which will highlight the @ character.

Feedback on 'Q972 How can I convert an ASCII code to the correct character?'

©2018 Martin Webb