What do you want to save?
Add Code snippet
New code examples
-
-
Javascript 2021-10-20 11:38:08
HTML5 Accesskey Attribute: you may not need JavaScript to add Keyboard Shortcuts
// Register the key handler document.addEventListener('keyup', function(e){ // This would be triggered by pressing CTRL + A if (e.ctrlKey && e.keyCode == 65) { window.location.href = "http://ourcodeworld.com"; } ... Add solution