how to pass the key pressed in javascript
843836Feb 26 2004 — edited Feb 26 2004I'm asking this question here as I could not find the needed help elsewhere .
I don't know how to pass the key pressed in the function on OnKeyPress event .
I'm trying the following :
<input type="text" name="a" onKeyPress="check();">
I want to pass the key presses in the check function .
How to collect the key pressed in the function check ?
Thanks.