how to change value top in keyCode in js code example Example: corresponding text to key code js String.fromCharCode(e.keyCode)