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


Groups > comp.lang.javascript > #10415

Re: How to set 'onKeyPress ...' programmatically ?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Re: How to set 'onKeyPress ...' programmatically ?
Date Thu, 19 Jan 2012 17:07:16 -0700
Lines 40
Message-ID <9nrphoF5nfU1@mid.individual.net> (permalink)
References <9np0guFpjtU1@mid.individual.net> <pfvVOtedpKGPFwzD@invalid.uk.co.demon.merlyn.invalid>
X-Trace individual.net 1oLitkrJY7gGswRWl7f70ggt0RdlQmgLS1IrP/9Au9329PZFHh
Cancel-Lock sha1:AKNR4fzKhFYJjpHN5kVA3Ui6uK0=
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6157
X-RFC2646 Format=Flowed; Original
Xref x330-a1.tempe.blueboxinc.net comp.lang.javascript:10415

Show key headers only | View raw


DR. J said:
>  Rag.onmousedown = function (e) {
>      e = e || window.event
>      OldX = e.clientX ; OldY = e.clientY ; Doon = true }
>

Hi Dr. Stockton:

    My user (just one of them for now) is the office assistant who runs my 
web app (which I'm building now) in the office of our senior park.

    From gazing at my Apache access log,  she currently runs IE9 , and 
perhaps a slightly older IE from home -- which she doesn't use much.  (We 
are both used to communicating solely by email since I spend 7 months of the 
year 3000 Km to the north)

    Moving about the 50+ text fields (with only <Tab> and <Sh-Tab> will be 
annoying to her.  She is used to <CR>, and the Up/Down arrows to move around 
a data entry screen.   So, <Tab> and <Sh-Tab> are not real options for this 
app

    The web app is a Lot Management System (613 lots) with a home on the 
lot, and owners, renters, lessors, as occupants, and maybe up to four local 
(or remote) owners, and a lot of other contact infor on phones, email 
addresses, full addresses (local and remote), etc, etc. Then, there's the 
non-owner occupancy fee, and how it is collected and reported uipon, etc.

    ... Now, I'm scaring the Hell out of myself  :(

    But anyway, I understand that events are treated differently among the 
browsers, and I'll be searching in my "Javascript Bible" for guidance.

    But, I don't understand your code above, and its late in the day, and 
I'm tired out from golfing : (((

Thanks for the post !

-Mel 

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


Thread

How to set 'onKeyPress ...' programmatically ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-18 15:47 -0700
  Re: How to set 'onKeyPress ...' programmatically ? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-01-18 22:55 +0000
    Re: How to set 'onKeyPress ...' programmatically ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-18 16:13 -0700
      Re: How to set 'onKeyPress ...' programmatically ? Tim Streater <timstreater@greenbee.net> - 2012-01-18 23:25 +0000
        Re: How to set 'onKeyPress ...' programmatically ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-18 16:31 -0700
      Re: How to set 'onKeyPress ...' programmatically ? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-01-18 23:39 +0000
        Re: How to set 'onKeyPress ...' programmatically ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-18 16:53 -0700
  Re: How to set 'onKeyPress ...' programmatically ? "J.R." <groups_jr-1@yahoo.com.br> - 2012-01-18 23:26 -0200
  Re: How to set 'onKeyPress ...' programmatically ? Dr J R Stockton <reply1203@merlyn.demon.co.uk> - 2012-01-19 23:42 +0000
    Re: How to set 'onKeyPress ...' programmatically ? "Mel Smith" <med_cutout_syntel@aol.com> - 2012-01-19 17:07 -0700

csiph-web