js convert character to ascii 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)