I want to trigger an ajax request when the user has finished typing in a text box. I don't want it to run the function on every time the user types a letter because that would result in A LOT of ajax requests, however I don't want them to h...
I am building an application where I want to be able to click a rectangle represented by a DIV, and then use the keyboard to move that DIV by listing for keyboard events.  Rather than using an event listener for those keyboard events at the documen...
Is there a way to detect if a key is currently down in JavaScript?  I know about the "keydown" event, but that's not what I need. Some time AFTER the key is pressed, I want to be able to detect if it is still pressed down.  P. S. The bi...
Mostly this is a sanity check. The key code for both shift keys is 16. Does that mean it is actually impossible to distinguish a left and right shift events in a browser?...
I have made a page using jquery, and on load it selects the first text field automatically. I want it to then move to the next field when the ENTER key is pressed.  $('.barcodeField input').bind('keyup', function(event) {     if(event...
I am trying to set a few input field connectd to each other.  in the 1st field you can enter 3 digit in the 2nd field you can enter 3 digit  in the 3rd field you can enter 4 digits  When i the first field as 3 digits, i would like to have the focus m...
I am using a monthpicker input (similar to jQuery UI datepicker) for a credit card expiration field.   I need to suppress the iPhone keypad because it hides the month picker.  I have tried setting the field to readonly and it is not an acceptable sol...
Ok, capturing key codes from special symbols produces different results on keyboards with different layouts. But how about the 'common' characters, like a-z? If you have a QWERTY-keyboard, you'd get key code 81 when you type q. When you h...
Is it possible to trigger a keyboard button with JavaScript, and to get a input-case depending on the Caps Lock button?  So, if my Caps Lock is on, "IT SHOULD BE UPPERCASED" or "it should be lowercased if it's off"....
I have a text box I'm using as a timer display "hh:mm:ss" When I select the box and press a number, it inserts the number at the cursor location, but instead of replacing the value at that position, it shifts all existing values over.  Fo...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.