Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #10413
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Dr J R Stockton <reply1203@merlyn.demon.co.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: How to set 'onKeyPress ...' programmatically ? |
| Date | Thu, 19 Jan 2012 23:42:21 +0000 |
| Organization | Home |
| Lines | 19 |
| Message-ID | <pfvVOtedpKGPFwzD@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <9np0guFpjtU1@mid.individual.net> |
| NNTP-Posting-Host | JfH6RRPWQh8XzArFI0xgxA.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain;charset=us-ascii |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Turnpike/6.05-S (<hY+ExRCkcsssDA9uJ+0bCn8+UA>) |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.javascript:10413 |
Show key headers only | View raw
In comp.lang.javascript message <9np0guFpjtU1@mid.individual.net>, Wed,
18 Jan 2012 15:47:56, Mel Smith <med_cutout_syntel@aol.com> posted:
>Question: How does one set _programmatically_ in javascript, the onKeyPress
>event listener ??
PLUS : Just in case, and if you are testing in one browser and hoping to
run in all browsers, you should know about e & event in the following
working code; but I am not the one to actually explain it.
Rag.onmousedown = function (e) {
e = e || window.event
OldX = e.clientX ; OldY = e.clientY ; Doon = true }
--
(c) John Stockton, near London. *@merlyn.demon.co.uk/?.?.Stockton@physics.org
Web <http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, and links.
Correct <= 4-line sig. separator as above, a line precisely "-- " (RFC5536/7)
Do not Mail News to me. Before a reply, quote with ">" or "> " (RFC5536/7)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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