Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 67469

How to detect if a key is pressed anywhere on an HTML page?

$
0
0

Basically, I'm just trying to find a way to check if a key is pressed anywhere on an HTML page, then display a popup saying the key pressed. I've seen examples of doing this inside of a textfield, but I want this to happen no matter where you press the key.


Viewing all articles
Browse latest Browse all 67469

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>