is probably what you are looking for. It is not 100% reliable, though, as there is not a direct correspondence between the key-codes returned by JS and the unicode character-codes that fromCharCode() expects. (It can also depend on which key-event is used.)
BTW You will discover that you cannot expect an acknowledgement every time, even if you provide a full and correct answer to someone's question
which I have ASKED ABOUT TWICE
..you also cannot demand an answer.