How can i get the keyCode of the key that is pressed from the keyPress event? event.keyCode is returning 0 (Zero) for all alphabet and number keys. This is happening in both Mozilla and Firefox.
how can i get the keyCode of alphabet and number keys from the keyPress event?
Note : I cannot use 'charCode' in my code. Hence i need the keyCode itself.