Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #32144
| 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 | onkeyup not working for me in FireFox 50.1.0 |
| Date | Sun, 8 Jan 2017 15:51:30 -0700 |
| Lines | 33 |
| Message-ID | <edfu3kFkfvbU1@mid.individual.net> (permalink) |
| X-Trace | individual.net QmPAy3SKEgXHqCxqkKNDXQhw6LUZSyP8uAN0if2BDHDS3gXQNh |
| Cancel-Lock | sha1:9n1CkB5g6YKecsWhf1ULETE5KpM= |
| 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:32144 |
Show key headers only | View raw
Hi All:
My onkeyup clause in my <input> element below works correctly under
Chrome 54.0.2840.99
That is, when I receive a <return> character, I sense it, 'blur' the
field, and then go thru the validation process by executing my validate()
function. Tabbing also works correctly.
However, when testing under Firefox 50.1.0, the onkeyup clause fails to
execute my chkforret function. Apparently, I need to pass the 'event' as
argument to the chkforret function instead of 'this' ??
My essential question is then:
Does onkeyup 'work' in Firefox ?
If so, what changes should I make to get it to work for me in the code
below so that Chrome and FF are both satisfied ?
Thank you.
-Mel Smith
*** my currect js code for inputting a 3-char text field ***
<input type="text"; onkeyup="chkforret(this);(gotret)?this.blur():false;"
onblur="setBlurColor(this);validate(this);" id="ulotno" name="lotno"
size="4" maxlength="3" value="">
*************
Back to comp.lang.javascript | Previous | Next — 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