Reputation: 8171
I want to focus on my browser's previous tabs, so i want to trigger browser tab by triggering key-code. How to do this thing using key code.(and i don't find any keycode for "ctrl+pageup")
Upvotes: 0
Views: 277
Reputation: 72947
That ain't possible.
You can't trigger OS/Browser functions like keypresses from JavaScript.
If this were possible, imagine the problems it would cause by:
You can only simulate these keypresses within the page's JS.
Upvotes: 2