Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Capture keyup (keyboard) events on a blank page?

Summary:

Is it possible to capture keyboard events on a blank page? In my case, I'm trying to capture keyup events.

Content (required):

I have tried placing a keyup event on the main div in Shell, but none of my key presses are firing the event. I also tried placing the event on the main div of my main page. This too is not working. Is it possible to capture keyboard events without having any input texts on a page?

Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!