in Education by
ASP.NET 2.0 web application, how to implement shortcut key combination of CTRL + Letter, preferably through JavaScript, to make web application ergonomically better? How to capture multiple-key keyboard events through JavaScript? JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
The short answer is that you use Javascript to capture a keydown event and use that event to fire off a function. Relevant articles: http://www.openjs.com/scripts/events/keyboard_shortcuts/ http://udayms.wordpress.com/2006/03/17/ajax-key-disabling-using-javascript/ http://protocolsofmatrix.blogspot.com/2007/09/javascript-keycode-reference-table-for.html http://www.quirksmode.org/js/keys.html If you're using the jQuery library, I'd suggest you look at the HotKeys plugin for a cross-browser solution. I know this is not answering the orginal question, but here is my advice: Don't Use Key Combination Shortcuts In A Web Application! Why? Because it might break de the usability, instead of increasing it. While it's generally accepted that "one-key shortcut" are not used in common browsers (Opera remove it as default from its last major version), you cannot figure out what are, nor what will be, the key combination shortcuts used by various browser. Gizmo makes a good point. There's some information about commonly-used accesskey assignments at http://www.clagnut.com/blog/193/. If you do change the accesskeys, here are some articles with good suggestions for how to do it well: Accesskeys: Unlocking Hidden Navigation Using accesskey attribute in HTML forms and links And you may find this page of Firefox's default Keyboard and Mouse Shortcuts useful (Another version of same information). Keyboard shortcuts for Internet Explorer 7 and Internet Explorer 6. Keyboard shortcuts for Opera and Safari. You're more likely to run into problems with JAWS or other screen readers that add more keyboard shortcuts.

Related questions

0 votes
    8. Which shortcut key do we use to display Document Properties dialog box? * O Ctrl + F3 O Ctrl + J O Ctrl + C O Ctrl + F5 Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    Ctrl shift and Alt are called ………… keys. (A) modifier (B) function (C) alphanumeric (D) adjustment (E) None of these Select the correct answer from above options...
asked Dec 9, 2021 in Education by JackTerrance
0 votes
    Ctrl shift and Alt are called ………… keys. (A) modifier (B) function (C) alphanumeric (D) adjustment (E) None of these Select the correct answer from above options...
asked Dec 3, 2021 in Education by JackTerrance
0 votes
    A. Ctrl +A B. Shift +A 11. સીમિંગમાં કોઈ પણ જેકટમાં દુનો કેસરી રંગ શું દર્શાવે છે ? A. ખોજેક્ટનું સ્થાન 3 ... ામની મદદથી D રતી મારી ના Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    v000 10. એકથી વધુ ડક પસંદ કરવા કઈ કીનો ઉપયોગ થાય છે ? A. Ctrl + A B. Shift +A C.Ctrl + S D. Shift + ... જેટમાં ઇનો સરી , Dj લાવે છે ? Select the correct answer from above options...
asked Nov 27, 2021 in Education by JackTerrance
0 votes
    which tool is used to make copies of the image or write shortcut key for make soft copies Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    To check spelling and grammer ____ key is used . 1. F7 2. Ctrl+F7 3. Alt+F7 4. Shift+F7 Select the correct answer from above options...
asked Dec 14, 2021 in Education by JackTerrance
0 votes
    shortcut key of paintbrush tool Sare tool flip to rotate tool is much tool blend tool etc in of computer Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    give the shortcut key to open font dialog with font size selection Select the correct answer from above options...
asked Dec 7, 2021 in Education by JackTerrance
0 votes
    give the shortcut key to open font dialog with font size selection Select the correct answer from above options...
asked Dec 5, 2021 in Education by JackTerrance
0 votes
    give the shortcut key to open font dialog with font size selection Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    I write a lot of dynamically generated content (developing under PHP) and I use jQuery to add extra ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
0 votes
    How do I detect the combination key Shift+Tab in a JTextField? JavaScript questions and answers, JavaScript ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 13, 2022 in Education by JackTerrance
0 votes
    to edit the interactive mode which key combination should be press Select the correct answer from above options...
asked Dec 21, 2021 in Education by JackTerrance
...