Use String.fromCharCode() method:
var myInt = 65;
var myString = String.fromCharCode(myInt); // A
Resource:
http://stackoverflow.com/questions/94037/convert-character-to-ascii-code-in-javascript
var myInt = 65;
var myString = String.fromCharCode(myInt); // A
Resource:
http://stackoverflow.com/questions/94037/convert-character-to-ascii-code-in-javascript
No comments:
Post a Comment