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
24
votes
5 answers

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 is not working.. What is wrong with this code
veda
  • 6,416
  • 15
  • 58
  • 78
23
votes
14 answers

In IE8 enter key in a form does not work

I have a problem that in IE8 the enter does not work to submit a form. I have generated a test page to expose this problem. It seems that displaying the form in the onLoad function disables results that the enter button does not trigger a submit…
Andre
  • 1,740
  • 2
  • 13
  • 15
21
votes
8 answers

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 did this: keyDown id=zc_0_4_3-real 10 keyUp …
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820
19
votes
10 answers

The .val() of a textarea doesn't take new lines into account

The .val() property of an item in jQuery for a