[Greasemonkey] How to get char of a code?
Jeremy Dunck
jdunck at gmail.com
Fri Aug 25 16:20:46 EDT 2006
On 8/25/06, Vikas Pandey <vickyvirgo2k at gmail.com> wrote:
> The javascript function fromCharCode() doesn't work on the Javascript
> "shell" I use from http://www.squarefree.com/bookmarklets/webdevel.html.
aString = String.fromCharCode(65) works for me from the JS shell.
After that, the value of aString is "A"
char(10) is Line Feed aka Ctrl-J, which is non-printable. Try it with
a "normal" character to be sure you're getting what you'd expect.
More information about the Greasemonkey
mailing list