Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #12358

Re: Teh onkey*= Clause, Take 2

From Mike Duffy <Use_guestbook_page@website.in.sig>
Newsgroups comp.lang.javascript
Subject Re: Teh onkey*= Clause, Take 2
Date 2012-03-03 05:18 +0000
Organization Your Company
Message-ID <XnsA00B326A7B9Einvalidcom@94.75.214.39> (permalink)
References <u5hqk7d961j23a2cl5gfbi8clm8ml4qpqu@4ax.com> <eba1be2c-d819-447b-8efd-1f9698d3142e@f5g2000yqm.googlegroups.com>

Show all headers | View raw


David Mark <dmark.cinsoft@gmail.com> wrote in news:eba1be2c-d819-447b-8efd-
1f9698d3142e@f5g2000yqm.googlegroups.com:

>>      The behavior for <Enter> is just what I want, but I am having
>> trouble with <Esc> which Mike Duffy said resets a page.

What I meant was, that a user might *expect* that he is able to press 
"Esc" to get out of a page without anything happening.

This is consistent with the manner in which most GUIs operate. In windows 
programs, (as in HTML forms), Enter means you have finished putting data 
into all fields, (analagous to the Submit action), Tab moves you cyclicly 
to the next field (both in GUIs and in HTML forms). In GUIs, the Escape key 
kills the current data entry page, usually bringing you back to the 
previous page, or upwards in a hierarchical menu system. Thus to make your 
HTML form function as the user might probably expect, the Escape key should 
cause a form reset action. I did not mean to imply that it happens 
automatically.


-- 
http://pages.videotron.ca/duffym/index.htm

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Teh onkey*= Clause, Take 2 Gene Wirchenko <genew@ocis.net> - 2012-02-28 14:01 -0800
  Re: Teh onkey*= Clause, Take 2 Gene Wirchenko <genew@ocis.net> - 2012-03-01 13:25 -0800
    Re: Teh onkey*= Clause, Take 2 David Mark <dmark.cinsoft@gmail.com> - 2012-03-02 20:02 -0800
  Re: Teh onkey*= Clause, Take 2 David Mark <dmark.cinsoft@gmail.com> - 2012-03-02 20:00 -0800
    Re: Teh onkey*= Clause, Take 2 Mike Duffy <Use_guestbook_page@website.in.sig> - 2012-03-03 05:18 +0000
      Re: Teh onkey*= Clause, Take 2 David Mark <dmark.cinsoft@gmail.com> - 2012-03-12 18:56 -0700
    Re: Teh onkey*= Clause, Take 2 Gene Wirchenko <genew@ocis.net> - 2012-03-04 21:00 -0800
      Re: Teh onkey*= Clause, Take 2 David Mark <dmark.cinsoft@gmail.com> - 2012-03-12 18:59 -0700

csiph-web