I'm stuck on this. I have absolutely zero knowledge of jQuery/Javascript.
What I want to do is whenever a user presses spacebar, that page gets redirect to a new page.
For example, you are reading this thread and immediately you press F12 then this page should redirect to Google.
Keypress: A Javascript library for capturing input this is what I found for handling the keypress events.
If anyone can help :D
What I want to do is whenever a user presses spacebar, that page gets redirect to a new page.
For example, you are reading this thread and immediately you press F12 then this page should redirect to Google.
Keypress: A Javascript library for capturing input this is what I found for handling the keypress events.
If anyone can help :D