convert text to ascii javascript code example
Example: Javascript convert character to ascii
var myVar='A';
var myVarAscii = myVar.charCodeAt(0); //convert 'A' character to it's ASCII code (65)
var myVar='A';
var myVarAscii = myVar.charCodeAt(0); //convert 'A' character to it's ASCII code (65)