I've been wondering if I can detect CTRL and SHIFT key being pressed WITHOUT using keydown event.
The reason is that I am creating some sort of Grid Viewer in JavaScript, and I implemented selecting different items by holding CTRL or SHIFT key as it functions in most common viewers, editors and so on.
The problem is that when the focus is not anywhere on the page. For example I'm adding page to the bookmarks. Then I hold CTRL or SHIFT and click on the item, but it acts normally as keydown hasn't been triggered.
Any way of omitting this? Perhaps not, but it can be confusing for customers who will treat it as my own obvious Bug.
onclick
handler... – Alveskeydown
event is being used. Everything should be checked at the clicking point – Requisition