Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32149
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Mel Smith" <syntel@cox.net> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: onkeyup in Firefox (was: onkeyup not working for me in FireFox 50.1.0) |
| Date | Sun, 8 Jan 2017 21:51:07 -0700 |
| Lines | 38 |
| Message-ID | <edgj5vFp050U1@mid.individual.net> (permalink) |
| References | <edfu3kFkfvbU1@mid.individual.net> <7279249.NyiUUSuA9g@PointedEars.de> |
| X-Trace | individual.net RILS7mGvDNDeEmJkCq7/EQh+q9QusNbaW01Vd82DjLVgDrxFZF |
| Cancel-Lock | sha1:3tHzcqx8TqV3Nj8zCw2xluQtpLM= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-RFC2646 | Format=Flowed; Original |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| Xref | csiph.com comp.lang.javascript:32149 |
Show key headers only | View raw
Thomas said (too much for me to digest tonite.)
But, I also tried my code with IE 11 and it worked correctly (or to my
satisfaction) as did Chrome 54.0.2840.99
Also, I did quite a bit of google searching. Many others complained of
"onkeyup" not executing a specific function with Firefox
Anyway, my text field of has a max length of 3 chars and will (later) be
followed by several other fields. I wish each of this to be 'blurred' when a
user tabs or <return>s.
Also, below is my current chkforret() function. I never get to the alert()
with Firefox but I do with the others. I'll try Safari tomorrow
Another also: my logical vrbl 'gotret' is global and is set to false on
entry to the validate() function. If a <return> is sensed, it is set to
true.
I only want chkforret() set the 'gotret' vrbl -- nothing further.
***********************
function chkforret(el) {
// alert("in chkforret() now") ;
var e = event ;
if (e===null) e = window.event ;
if (e.keyCode=="13") {
gotret = true ;
return false ;
}
gotret = false ;
return true ;
}
**********************
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
onkeyup not working for me in FireFox 50.1.0 "Mel Smith" <syntel@cox.net> - 2017-01-08 15:51 -0700
onkeyup in Firefox (was: onkeyup not working for me in FireFox 50.1.0) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-09 00:30 +0100
Re: onkeyup in Firefox (was: onkeyup not working for me in FireFox 50.1.0) "Mel Smith" <syntel@cox.net> - 2017-01-08 21:51 -0700
Re: onkeyup in Firefox (was: onkeyup not working for me in FireFox 50.1.0) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-09 09:44 +0100
Re: onkeyup in Firefox (was: onkeyup not working for me in FireFox 50.1.0) "Mel Smith" <syntel@cox.net> - 2017-01-09 10:26 -0700
Re: onkeyup in Firefox (was: onkeyup not working for me in FireFox 50.1.0) "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-01-09 19:19 +0100
Re: onkeyup in Firefox Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-01-09 19:09 +0100
csiph-web