keyup Questions
3
Solved
I'm trying to develop a jQuery plugin to do an action when the user enter a specific keyphrase.
For example, I want to match "HELLO" on keyup.
var controllerKey = [];
$(window).keyup(function(evt...
3
I'm getting UnsupportedOperationException crash on live app. All the crashes are associated with Moto Android 11 devices. Can see that it's somehow related to onKeyUp. But still no clue how to repr...
4
Solved
I am looking for a way to figure out when an mat-option inside the mat-autocomplete was either clicked or was selected using the enter key.
The click event binding works as expected but the keyup...
Pursy asked 4/12, 2017 at 8:11
4
Solved
I'm trying to make a C# application, which is going to control a game. That I'm trying to do is for example: Hold key A for 150ms, Hold left arrow for 500ms and so on.
I was searching a lot and I f...
Gerundive asked 2/5, 2013 at 15:59
3
Solved
I have an angular template that uses this syntax within:
(click)="dosomething()"
that works fine. I now need to have that same event fire on return or spacebar. I added this for return:
(keyup....
Fervency asked 2/8, 2019 at 19:20
2
Solved
I came across this question: onKeyPress Vs. onKeyUp and onKeyDown, from where I found that keypress is supposed to fire whenever a character is typed into the text input. I am trying to run this fo...
Casimir asked 7/8, 2013 at 22:15
2
Solved
I have some simple Angular 7.x code that basically uses a contenteditable div where I am trying to prevent the default action when a user presses the [ENTER] key - the code appears fine but no matt...
Chaplain asked 23/9, 2019 at 10:50
2
Solved
I have been just learning the keypress events in javascript and wonder why do i get different result in keyup and keydown.
for eg. if i assign an input with an id and pass through it a addEventList...
Cocaine asked 5/7, 2019 at 16:0
1
Solved
I made a horizontal scroll with resources in it.
I'm using the arrow key to navigate in the list, now I want to open that particular highlight list by clicking enter.
Component.ts
arrowkeyLocatio...
4
Solved
I'm having a few issues getting a keyup event to fire on my iPhone, my code is as follows:
var passwordArray = ["word", "test", "hello", "another", "here"];
var test = document.getElementById('...
Ferial asked 17/8, 2016 at 6:31
1
I've got a very strange behavior of the keyUp event. JS snippet is attached. Tested on Chrome/Chromium.
Steps to reproduce:
F11 to go fullscreen
Press down A key (leave it pressed)
Press F11 to ...
Sepulture asked 14/8, 2018 at 18:48
1
Solved
On Android the length of v-model is returning 0 on keyup unless its a number or the space bar key. Does anyone know why that is and how to make it fire the keyup event no matter what key it is and ...
Araldo asked 26/7, 2018 at 20:13
3
Solved
I am having an issue with an Angular2 directive that should do the following:
Detect if the user enters '.' character.
If the next char is also '.', remove the duplicate '.' and move the cursor p...
3
Solved
I am trying to hit enter key to press a button on my login form. However it does not. The code looks like:
<div>
<button type="button" mat-raised-button (click)="doLogin()" (keyup.enter)...
Salot asked 4/2, 2018 at 21:21
8
Solved
i am trying to create an input field where the user can only type in numbers. this function is already working almost fine for me:
$('#p_first').keyup(function(event){
if(isNaN(String.fromCharC...
3
Solved
Is anybody else having problems with the keyup event in iOS 9 not firing?
Just a simple test bed replicates the issue for me.
<input id="txtInput" />
Vanilla JS:
document.getElementById(...
Florrie asked 15/10, 2015 at 15:46
1
I'm trying to create a cordova-plugin that will "listen" to any onKeyUp event, and will pass the keyCode to a callback function.
The purpose is detect ANY keystroke that comes from an external key...
Semiyearly asked 25/1, 2017 at 22:15
3
Solved
Hello i have two inputs and when im writing in the first input, with keyup jquery function im writing automatically in the second input field.
But I want to write line instead of space to the secon...
Asymmetry asked 13/2, 2017 at 21:53
3
Solved
I had a text area that has been replaced by ckeditor. I had some jquery to listen to the textarea input:
$('.formanswer').keyup(function () {
LimitText($(this), $(this).attr('data-maxlength'));
}...
1
Am using .keyup to filter my auto complete.
However it only allows me to enter the first digit. so if my data is "Apple"
when i type A - it shows Apple but i cannot type "AP" as the "P" disappear...
Lasandralasater asked 1/6, 2015 at 10:33
1
Solved
I have a problem to detect shift + right arrow + p in angular.
I am using angular 1.2.3
I have no problem to detect only right arrow + p but when the shift comes into game something brakes
The qu...
Ashraf asked 13/5, 2015 at 15:5
5
Solved
I have a text field, which will accept only the following characters:
Allowed characters: [a-z 0-9 + # - .]
This is the same filter SO does in the 'Tags' field, when you're asking a question.
If ...
Modal asked 20/6, 2013 at 18:5
2
Solved
I try to trigger a button when in an input field the return key has been hit. This works. But if I hit the tab key nothing is triggered because the TAB key event isn't captured.
Fiddle example
He...
2
I have the following setup:
Bluetooth scanner
iPad
Webpage with a textfield for scan input
Usage:
User focus textfield and scan barcode with bluetooth scanner
Scanner adds ENTER (13) at the e...
3
Solved
I have this jQuery code:
var char = 60;
$("#counter").append("You have <strong>" + char + "</strong> char.");
$("#StatusEntry").keyup(function () {
if ($(this).val().length > cha...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.