Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #12407
| From | Gene Wirchenko <genew@ocis.net> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Teh onkey*= Clause, Take 2 |
| Date | 2012-03-04 21:00 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <7uh8l7t0efd4606dga720sebmaabslbj5v@4ax.com> (permalink) |
| References | <u5hqk7d961j23a2cl5gfbi8clm8ml4qpqu@4ax.com> <eba1be2c-d819-447b-8efd-1f9698d3142e@f5g2000yqm.googlegroups.com> |
On Fri, 2 Mar 2012 20:00:55 -0800 (PST), David Mark
<dmark.cinsoft@gmail.com> wrote:
>On Feb 28, 5:01 pm, Gene Wirchenko <ge...@ocis.net> wrote:
>> Dear JavaScripters:
>>
>> I am still trying to make sense of the onkey* clause.
>
>The onkey* event handlers?
onkeypress=, onkeydown=, onkeyup=.
>> I have
>> tried my test page below with both onkeypress and onkeydown. (It is
>> safe to change all "press" to "down" and vice versa.
>
>As those events are quite different, it seems you are using trial and
>error.
I was trying to determine which one to use.
[snip]
>Was going to cite documentation, but this is best I could find:
This is why I was reduced to trial and error.
>https://developer.mozilla.org/en/DOM/element.onkeypress
>
>"The keypress event is raised when the user presses a key on the
>keyboard."
On my system (Windows 7, IE 9), it is not raised when <tab> is
pressed.
[snip]
Sincerely,
Gene Wirchenko
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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