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


Groups > comp.lang.javascript > #34213

Re: Javascript keycodes

Subject Re: Javascript keycodes
Newsgroups comp.lang.javascript
References <12e04131-18f7-4bef-b57f-646fc4328873@googlegroups.com>
From Mark Lloyd <not@mail.invalid>
Message-ID <vaoIB.32717$E_2.19938@fx41.iad> (permalink)
Organization Newshosting.com - Highest quality at a great price! www.newshosting.com
Date 2017-10-26 11:36 -0500

Show all headers | View raw


On 10/26/2017 04:09 AM, jonas.thornvall@gmail.com wrote:
> Is there a reason javascript do not differentiate upper and lower keys?
> It seem a no brainer it should?
> But maybe there is a reason?
> 

Are you referring to the "keydown" and "keyup" events? The keycode is 
telling you which KEY is being pressed. You use the 'shiftKey' property 
to find out if shift is pressed also.

-- 
60 days until the winter celebration (Monday December 25, 2017 12:00:00
AM for 1 day).

Mark Lloyd
http://notstupid.us/

"He who hears this name [God] from a Jew must inform the authorities, or
else throw sow dung at him when he sees him and chase him away." [Martin
Luther,"On the Jews and Their Lies",1543]

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


Thread

Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 02:09 -0700
  Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 02:16 -0700
    Re: Javascript keycodes Maik Koenig <usenetspam@maikkoenig.de> - 2017-10-26 12:21 +0200
      Re: Javascript keycodes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-10-26 12:30 +0200
        Re: Javascript keycodes Maik Koenig <usenetspam@maikkoenig.de> - 2017-10-26 12:52 +0200
  Re: Javascript keycodes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-10-26 12:12 +0200
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:15 -0700
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:19 -0700
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:25 -0700
    Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:28 -0700
      Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:45 -0700
        Re: Javascript keycodes jonas.thornvall@gmail.com - 2017-10-26 06:54 -0700
          Re: Javascript keycodes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2017-10-26 18:30 +0200
  Re: Javascript keycodes Mark Lloyd <not@mail.invalid> - 2017-10-26 11:36 -0500

csiph-web