Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
Advice
1 vote
3 replies
164 views

I'm a new web developer here. I was hoping to share some code and see if there's a set of functions to use that maps more appropriately to my problem. My goal is to create a typing game with css ...
2 votes
1 answer
158 views

I'm trying to recreate Wordle as a practice for React, and I'm having problems with the keydown event. The idea is that when I press a letter the program writes that letter into a cell and moves to ...
0 votes
3 answers
158 views

I am using Angular 19 keydown event on Textbox. It should allow only numbers and decimals up to 2 places. Valid numbers are: 123.45, 675.1, 12345 etc. This works properly for all keys except Spacebar. ...
1 vote
2 answers
92 views

I have this javascript function for allowing numeric input only window.addNumericInputValidation = function (elementId) { var $element = $("#" + elementId); // First remove any ...
1 vote
1 answer
64 views

Here is the scenario to reproduce the problem: Given input element has test string as a content. Focus given input element by clicking at the end of the input element After focusing, caret is set at ...
0 votes
1 answer
112 views

I have an old project made with powerbuilder 10.5. I'm trying to create a keydown or dwnkey event to trigger a commandbutton to execute a print command. The parentwindow (w_waybill) has some ...
0 votes
0 answers
64 views

I'm developing a typing speed game with difficulty levels (easy, medium, hard), where the game tracks typing speed, accuracy, and time. After switching from easy to medium (or other levels), when I ...
0 votes
1 answer
75 views

I am currently doing a simple to-do list, and I have a problem that when I click enter, my web will reload, which I expect will be adding a new task. Thank you for helping. handleSubmit = (event) =>...
3 votes
2 answers
116 views

I was doing tests to detect the keyboard keys, it occurred to me to save it in an array and add the keys in the order in which they are held down. For example, if you keep "w" and "a&...
0 votes
0 answers
38 views

I have an NSTableView that doesn't allow selecting rows. I'd like keyDown: events (edit: from arrow keys) to reach the view's controller (which is also its delegate). By default, a table view "...
1 vote
0 answers
104 views

I am handling keydown which provides a KeyboardEvent on a webpage. I want to only do something if the user pressed a specific letter without holding any modifiers. However, I cannot figure out how to ...
binki's user avatar
  • 8,420
0 votes
0 answers
59 views

I'm making a custom control for a particular UI I am creating. Ideally, the user inputs a number into some textboxes, and upon pressing enter, those numbers get saved and can be used later in the ...
0 votes
2 answers
498 views

I have a script whereby if a user is focused on an element and presses the down arrow key, it expands/collapses a section. Works in all browsers I've tested without a screen reader, and it works on ...
DeanH's user avatar
  • 543
0 votes
1 answer
94 views

Update: I've heavily edited this question because no one seemed to be grasping what I'm trying to accomplish. When a user is focused on a heading in the example below and presses the down arrow key, I ...
DeanH's user avatar
  • 543
0 votes
0 answers
40 views

I have changed my keyboard to a non-English language (Korean) and am looking to log characters inside my onKeyDown. I came across this stack overflow post about using keypress instead but wasn't able ...

15 30 50 per page
1
2 3 4 5
...
97

AltStyle によって変換されたページ (->オリジナル) /