Issue with javascript onkeydown - event.which give characters in upper case only
问题 I have written a piece of javascript code to get the key pressed within a text area. I have used the onkeydown event to capture the key pressed and am calling a function when the event is triggered. Within the function i am using event.which to get the key pressed. But this is not giving the correct key pressed. For any character pressed, it gives the Ascii value of the corresponding upper case character ( 65 to 90 only ). It is not giving Ascii values for the lower case characters, ie 97 to