So I'm sure there's something blatantly obvious I'm missing here but how exactly do I get from event.keyCode to the unicode value of a character? I was under the understanding that event.keyCode was the Unicode value but things don't seem to marry.
If you can tell me what I've misunderstood then please don't hesitate.
Type characters into the textbox and see their corresponding javascript properties in the table below:
| Key_pressed | Key_pressed.charCodeAt(0) | event.keyCode | String.fromCharCode (event.keyCode) | String.fromAsciiCharCode (event.keyCode) |