How can I wire an event to fire if someone presses the letter g?  (Where is the character map for all the letters BTW?)...
I'm getting the error "Uncaught TypeError: Cannot read property 'onCommand' of undefined" while running a Chrome Extension with the following content:   manifest.json:  {   "name": "Test",   "description":...
I have code that let my users open the File Browser of the client's browser so they can select a file.  That works fine when the user clicks a button with the mouse, but somehow it completely fails with the keyboard.  So I setup the button as fol...
The following script is aimed to run on facebook.com's conversations page (the page in which a user can see all its conversations).  The script's purpose is to automize the "delete conversation" process which naturally includes 4 clic...
I'm writing javascript code for a web emulator containing function keys. The user is able to press keyboard function keys to process something in the emulator, I used stopPropagation and preventDefault javascript function to stop/cancel browsers...
$(document).ready(function(){      $(document).on( 'keypress', 'body', function( e ){         var code = e.keyCode || e.which;          if( code = 110 ) {             console.log( 'Successfully triggered ALT+N' );         }...
I'm working on a website where each page has buttons, like "submit" and "cancel". Each of these buttons has an accesskey attribute. The submit button's accesskey attribute is set to S, and the cancel button's accesskey att...
I have trapped the cut event (jquery) on a textbox. What I want is to get the text on the textbox during the cut event is triggered.  I've tried accessing the data the user cut via evt.originalEvent.clipboardData.getData('text') but retur...
Is there a keystroke combo to quickly move the cursor to the end of a code block or past a closing tag (in HTML document)?  For example, you are done editing or filling in some function/class/tag and you just want to quickly navigate without using ar...
update: Got a beautiful app with exclusive shortcuts for every view, all javascript. I'm gonna look into Fogbugz, i like the hovering shortcut-codes, thanks for the reference.    i want to make my site accessible and more usable for visitors. Whi...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.