How do you find out what you typed when using onkeydown in HTML/JavaScript?

spk

New member
You type in, for example, z. When you type something, I want it to alert what you typed in, z. How do I get that?

<body onkeydown="alert(__________________)">
 
Back
Top