Hello,
I am currently trying to implement keyboard navigation with jQuery (1.4.2) on a webpage that has all the information getting pulled from a ajax request with Spry.
I know it's a convoluted method of grabbing data and populating a webpage with it, but I really like how Spry handles datasets.
My markup looks something like this:
...
Hi All,
First, I know that there are jQuery plugins for search suggest. The reason I'm asking this is because I wrote one for my specific needs and I am interested in learning how to make the script in jQuery (rather than just using a plugin). See code that I pasted to pastebin -- I hope that's ok.
Original: http://pastebin.com/VFu...
I need to be able to record keyboard events on elements that act like password (masked) inputs.
It sounds sinister, but I assure you it's not. I am not a phisher or scam artist of any kind. My users will be made aware that there behaviour is being analysed and are instructed not to enter a password that they use anywhere else.
With tha...
Hi.
I'm working on a I/O verification tool based on Linux in a game project. It is written in C++, and,since using the same I/O module as our game, it's based on OIS 1.2. Thus, though all I need is to print users' inputs on the console, I still need to create a window for OIS.
So here comes my question: How can I create a mapped window ...
Is there any cross-platform-safe method for dealing with keyboard shortcuts in Flash?
For example, on my Mac, pressing ctrl+f results in a KeyboardEvent where the keyCode is 6, but on Windows, the keyCode is 70.
...
how do I observe keyboard input event while the applicaion is not actived.
...
Hello,
How to simulate CAPS LOCK on and off using Xlib ?
Regards,
Levon
...
I want to get mapping-independent key codes, but documentation says that "keycode" in XKeyEvent structure depends on hardware and driver and I can't rely on it. How can I get some portable key codes like VK_* in Windows?
...
Hello,
On a WinForms application that I am writing in C#, I have a DataGridViewTextBoxColumn with cells holding integer values that I would like the users to be able to increment or decrement using the + and - keys from their keyboards.
I've handled the KeyDown event as it is what I use usually to handle Delete keys, etc, but it isn't ...
I've found a lot of information about using GLUT to detect whether the control key is pressed using the GLUT_ACTIVE_CTRL macro. This macro only works, apparently, within a keyboard or mouse callback function. I need to know whether or not the control key is pressed at a point in my main loop, but GLUT_ACTIVE_CTRL doesn't seem to work in ...
I'm trying to suppress IE's default handling of Ctrl+O.
I've got a onKeyDown handler which get's called, but even though I call event.cancelBubble and return false, the default File|Open command still runs.
btw: this is not critical since I can just pick another key but curious if there might be a way around this.
...
I am developing a GLUT program on a mac. Mac's seem to pass modifiers through GLUT in a funny way. Alt and control keys are not captured by glutGetModifiers() instead they're translated into the button int. The command key doesn't seem to be captured by either glutGetModifiers() or the button int. Also, it doesn't show up as a key in my ...
Context: We're using an on-screen keyboard on a touch screen kiosk to allow users to enter text. The backspace button is failing because the System.Windows.Input.Keyboard.PrimaryDevice.ActiveSource becomes null.
Code Context:
if (System.Windows.Input.Keyboard.PrimaryDevice.ActiveSource != null)
{
System.Windows.Input.KeyEventArgs ...
The MS natural ergonomic keyboard has buttons on it for volume control. I would like to use these keys as hotkeys to control the volume on my media player instead Problem is, it controls the master volume only and there is nothing in my keyboard software or in my system utilities that can disable it. I have done some searching over the...
I have a SproutCore Pane - a PalettePane, specifically - which includes a form tied to an object elsewhere on the screen. The Pane is causing trouble with the object deletion interaction. The way I want it to work is:
If a text input field is in focus, the backspace/delete keys should apply to those fields (i.e. editing the text)
If no...
I have an app with a login page that has three fields for three different random characters. When the user leaves the last field, the soft keyboard disappears and the user can touch a "login" button on screen.
When there is a hardware keyboard (bluetooth or physical) attached, I'd like to be able to hit "enter" on it. However because th...
Hi,
is there a quick way to use the right and left arrow keys to load the next page?
My solution so far is:
$(document).ready(function () {
$("a.transition").click(function (event) {
event.preventDefault();
linkLocation = this.href;
$("body").fadeOut(20, redirectPage);
});
$("a.transitionB").click(f...
I would like to hook into, intercept, and generate keyboard (make/break) events under Linux before they get delivered to any application. More precisely, I want to detect patterns in the key event stream and be able to discard/insert events into the stream depending on the detected patterns.
I've seen some related questions on SO, but:
...
Hello Everyone, I am a newbie in iphone development, yet wondering why i am not able to find any help regarding the keyboard keyup/keydown events, I actually want to detect which key is been pressed by the user via keyboard on iphone while inputting the text in the UITextField. I need an urgent help!! .....
Thanks in advance
Mehroz
...
Hi, I'm trying to simulate text input into a JTextField. I've got a 1 char long string containing the letter I want to add and I run:
receiver.dispatchEvent(new KeyEvent(this,
KeyEvent.KEY_TYPED, 0,
this.shifted?KeyEvent.SHIFT_DOWN_MASK:0,
KeyEvent.VK_UNDEFINED, text.charAt(0)));
But this doesn't seem to change the contents at a...