The backspace key on the keyboard (deletes the previous character)
Questions tagged [backspace]
354 questions
3
votes
3 answers
jQuery on keyboard backspace move to previous input field if becomes empty
I have this jQuery script:
$(document).ready(function() {
//Focus the first field on page load
$(':input:enabled:visible:first').focus();
//Clear all fields on page load
$(':input').each(function() {
this.value = "";
…

David
- 1,171
- 8
- 26
- 48
3
votes
6 answers
How to remove first whitespace of a string
I am building a new version of a telephone configuration manager where I am sucking on a stupid problem. You see these telephone .cfg configurations are rely static. So in the old version I made it gave the configuration without a problem.
It looks…

botenvouwer
- 4,334
- 9
- 46
- 75
3
votes
1 answer
Java inserting a backspace in an uneditable JTextArea
I have a JTextArea which is uneditable under a certain setting. However, under this setting the user can still use the space and backspace keys. To accommodate the space, I have the following code,
if (e.getKeyChar() == KeyEvent.VK_SPACE) {
…

gsgx
- 12,020
- 25
- 98
- 149
2
votes
1 answer
Jquery range selection previous element on contenteditable="false"
I have this snippet:
father
myLink
My problem is that if I place caret after
and I try to backspace for remove myLink html tag, It doesn't work in firefox,…
paganotti
- 5,591
- 8
- 37
- 49
2
votes
2 answers
Implement BSD style progress bar in C?
I'm trying to make a simple progress bar like FreeBSD does in its booting screen , displaying / , | , \ , - recursively , but the following code got now output at all
#include
#include
int main ( int argc , char **argv )
{
…

daisy
- 22,498
- 29
- 129
- 265
2
votes
2 answers
Disable back space key for browser based AS3 application
this is insanely annoying problem:
AS3 full screen application based on ADOBE FLEX 4, text field. User types something in text field, and then starts clicking backspace many many times to remove what he just wrote, and for some reason, instead of…

JuiceEnergy
- 21
- 2
2
votes
2 answers
Backspace stops working in Flutter for desktop (Windows), if user switches input language by Win+Space
I have a strange problem:
Backspace stops working in Flutter for desktop (Windows), if user switches input language by Win+Space!
I found an issue pointing exactly same problem:
https://github.com/flutter/flutter/issues/73377
But I am looking for a…

AVEbrahimi
- 17,993
- 23
- 107
- 210
2
votes
0 answers
How to delete continuously delete text in a TextFormField when the backspace is kept down?
I got a TextFormField controlled by a TextEditingController. I have found no way to remove continuously, one by one, all the characters on the field if the user keeps the backspace pressed on mobile.
The behavior should be similar to what you would…

FCR
- 1,103
- 10
- 25
2
votes
5 answers
ASP.NET: Backspace Key Behavior
I'm writing an in-house intranet application in ASP.NET and VB.NET. My 'customers' are beginner to medium-level users. All of our browsers are IE8 and above, standard.
The application works great, except for one thing. The backspace key. When a user…
user724198
2
votes
4 answers
How can I allow backspace in a UITextField?
In my project, I have to limit the length of a UITextField to 6 characters. This is working absolutely fine. Once I end editing and start editing again and I click backspace my application crashes.
Here is the code:
- (BOOL)textField:(UITextField…

Baby Groot
- 4,637
- 39
- 52
- 71
2
votes
1 answer
How to delete characters at constant speed on EditText in Android during holding Backspace(or Delete) on Software Keyboard
Problem: At EditText on Android OS,
obviously when users press the Backspace key one time on Software keyboard like that in smartphones, only one character on the EditText is erased. But when keeping to press it for longer than a certain time, the…

Lummia
- 21
- 3
2
votes
1 answer
Ctrl +c and Backspace on Google Chrome
I have an application in which I am listening for KeyPress events in an iFrame. On Google Chrome and IE, CTRL+C and backspace never trigger the key press event. Backspace takes me to the previous page and CTRL+C is not captured at all.
Please let me…

ssk
- 9,045
- 26
- 96
- 169
2
votes
2 answers
How to Disable Backspace in WebBrowser
When I press Backspace, Web-browser will go to previous page. How can I disable it without preventing the clearing text ability?

Kermia
- 4,171
- 13
- 64
- 105
2
votes
2 answers
How to disable backspace key in TextInput in React Native?
I'm using TextInput and i'd like the first symbol in the TextInput to be constant. So if the length of the text is one symbol i could ignore backspaces and onChangeText event could be ignored.
The following code doesn't work, the onChangeText event…

andrewprok
- 21
- 1
- 5
2
votes
1 answer
map vim leader key to backspace
The vim documention on how to set the default leader key ( :h mapleader) provides one simple example:
:let mapleader = ","
I want to map it to backspace and tried a bunch of options, this being the first one:
:let mapleader=""
But nothing…

Rui Ferrão
- 199
- 1
- 9