Top "Enter" questions

The ENTER/RETURN key on the keyboard.

Default action to execute when pressing enter in a form

I've got a jsf 1.2 form with two buttons and several input fields. The first button discards the entered values and …

jsf action default form-submit enter
How to get the Enter key within a textbox to trigger a function and not the first/default button

I am trying to get the Enter key to trigger a function when it is pressed when inside a certain …

jquery button textbox keycode enter
Submit form on Enter key with javascript

I'm not sure what I am doing wrong here. I want the enter key to work as well as clicking …

javascript forms key submit enter
Javascript submit textbox on ENTER

Possible Duplicate: Bind textbox to 'enter' key I've made ajax / jquery chat and there is no form in textbox for …

javascript submit enter
Selenium-IDE: How to simulate non-printable keys (ENTER, ESC, Backspace)?

What is the exact HTML code to simulate ENTER, ESC, BACKSPACE and DOWN in Selenium IDE 1.3.0? typeKeys didn't work nor …

keyboard keypress selenium-ide enter backspace
JQuery: Keyup, how do I prevent the default behavior of the arrow (up & down) and enter key?

JavaScript (JQuery) $('input').keyup(function(e) { var code = e.keyCode ? e.keyCode : e.which; switch(code) { case 38: break; case 40: break; …

javascript jquery onkeyup enter
Bash Shell Scripting - detect the Enter key

I need to compare my input with Enter/Return key... read -n1 key if [ $key == "\n" ] echo "@@@" fi But this …

bash shell string-comparison enter
Disable New Line in Textarea when Pressed ENTER

I am calling a function whenever someone press enter in the textarea. Now I want to disable new line or …

textarea newline enter shift
How do you get Python to detect for no input

I'm new to coding in python and I was filling out some code that required a number of inputs. One …

python input enter
Android execute function after pressing "Enter" for EditText

I have been following the official Android tutorials and somehow am having a problem with this very simple example to …

android android-edittext enter