I have javascript code:
s = String.fromCharCode(s);
This works but it only works with one character even though the String.fromCharCode method is supposed to work with multiple characters seperated by commas. Any ideas why this is?
I have javascript code:
s = String.fromCharCode(s);
This works but it only works with one character even though the String.fromCharCode method is supposed to work with multiple characters seperated by commas. Any ideas why this is?
If you want more than one character, you'll want to pass a sequence of values...
String.fromCharCode(65, 66, 67); // "ABC"