Questions tagged [enter]

The ENTER/RETURN key on the keyboard.

On computer keyboards, the enter key in most cases causes a command line, window form, or dialog box to operate its default function. This is typically to finish an "entry" and begin the desired process, and is usually an alternative to pressing an OK button.

Source

Wikipedia

882 questions
5
votes
2 answers

jQuery how to make Enter (Return) act as Tab key through input text fields but in the end trigger the submit button

I've blocked Enter (return) key, actually, transformed it in Tab key. So when pressed inside input text fields it acts as Tab key. This is good, but I need it to trigger the submit button when pressed in the last field, below is the code for the…
msmafra
  • 1,704
  • 3
  • 21
  • 34
5
votes
2 answers

How do you change the return key text in Mobile Safari keyboard without the form tag?

I would like to change the the "return" button text on the Mobile Safari keyboard when my input element is focused. I know you can do this:
JoshNaro
  • 2,047
  • 2
  • 20
  • 40
5
votes
1 answer

Call a function when a user presses enter in an NSSearchField?

I am surprised that I can't find the answer to this simple task. I just want the user to type in text, press enter, and have the application know what s/he typed. How would I do this?
Flafla2
  • 691
  • 2
  • 11
  • 21
5
votes
2 answers

MATLAB System Command "Press Enter to Exit"

I am trying to write a MATLAB script that would call and run an external program and then proceed with other MATLAB commands. tic %Start stopwatch system('MyProgram.exe') %Call and run my program toc …
ASE
  • 1,702
  • 2
  • 21
  • 29
5
votes
2 answers

break statement in c++ by pressing enter

#include using namespace std; int main() { int n,t=0,k=0; cin>>n; char data[n][100]; int num[n]; for(int i=0;i>data[i][t]; cout<
5
votes
2 answers

Simulating the Enter key in WPF

I am trying to simulate a key press in a button event. I can use the code below to simulate some keys such as Backspace, but the Enter is not working. What am I doing wrong? private void btnEnter_Click(object sender, RoutedEventArgs e) { …
justinfly
  • 179
  • 2
  • 6
5
votes
5 answers

Reading a sentence until ENTER key pressed using 2-D char array

I need to read a sentence word by word until "ENTER" key is pressed. I used a do..while loop to read words until ENTER key is pressed. Please suggest me some conditions for checking ENTER key press (or) others ways for reading similar input. …
Gokul
  • 3,101
  • 4
  • 27
  • 45
5
votes
4 answers

Call a specific button onClick event when the enter key is pressed C#

I'm trying to get a specific asp:button onclick event to fire when I press the enter key in a specific asp:textbox control. The other factor to be taken into account is that the button is within a asp:Login control template. I've no idea how to do…
Static Tony
  • 224
  • 1
  • 3
  • 8
5
votes
6 answers

how to focus next cell in kendo grid by pressing enter key