A
A
Alexander Bagirov2015-01-11 20:27:31
JavaScript
Alexander Bagirov, 2015-01-11 20:27:31

How to block a keyboard shortcut on a website?

Good evening!
Can you please tell me how to block certain key combinations on the page using JavaScript?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Nalomenko, 2015-01-11
@alexbagirov

Can. For example using keymaster.js to make life easier. Just the body of the processing function should be like this:
return false;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question